summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-06-07 02:30:47 +0000
committerhenning <henning@openbsd.org>2005-06-07 02:30:47 +0000
commite6bc2e761152401041050fad1b42fb020264ceee (patch)
tree8df756f208a4945249ebcf7bc1a4ba42fbe23a14 /sys/compat/linux/linux_socket.c
parentCCITT about to bite the dust, remove special casing in archs and drivers (diff)
downloadwireguard-openbsd-e6bc2e761152401041050fad1b42fb020264ceee.tar.xz
wireguard-openbsd-e6bc2e761152401041050fad1b42fb020264ceee.zip
remove CCITT handling
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
-rw-r--r--sys/compat/linux/linux_socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index c885d9e2675..f4217145118 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_socket.c,v 1.32 2004/07/08 15:11:37 tedu Exp $ */
+/* $OpenBSD: linux_socket.c,v 1.33 2005/06/07 02:30:47 henning Exp $ */
/* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */
/*
@@ -114,13 +114,13 @@ static const int linux_to_bsd_domain_[LINUX_AF_MAX] = {
AF_UNSPEC,
AF_UNIX,
AF_INET,
- AF_CCITT, /* LINUX_AF_AX25 */
+ -1, /* LINUX_AF_AX25 */
AF_IPX,
AF_APPLETALK,
-1, /* LINUX_AF_NETROM */
-1, /* LINUX_AF_BRIDGE */
-1, /* LINUX_AF_ATMPVC */
- AF_CCITT, /* LINUX_AF_X25 */
+ -1, /* LINUX_AF_X25 */
AF_INET6,
-1, /* LINUX_AF_ROSE */
AF_DECnet,
@@ -148,7 +148,7 @@ static const int bsd_to_linux_domain_[AF_MAX] = {
-1, /* AF_ISO */
-1, /* AF_ECMA */
-1, /* AF_DATAKIT */
- LINUX_AF_AX25, /* AF_CCITT */
+ -1, /* AF_CCITT */
-1, /* LINUX_AF_SNA */
-1, /* LINUX_AF_DECnet */
-1, /* AF_DLI */