summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_ifattach.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-06-08 09:31:39 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-06-08 09:31:39 +0000
commit1ea7f59fd9abe016c3e273059d2ca269905af101 (patch)
tree483b2705d3c1f141916944655b85551eef24f3fc /sys/netinet6/in6_ifattach.c
parent90d63acfd2b250c96ba70da12943787b16e96e96 (diff)
kill arcnet leftovers, some pt out by Mike Belopuhov <mkb@crypt.org.ru>,
some I found afterwards, ok dlg
Diffstat (limited to 'sys/netinet6/in6_ifattach.c')
-rw-r--r--sys/netinet6/in6_ifattach.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
index 03e8f264835..073a781ea4e 100644
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_ifattach.c,v 1.44 2006/11/15 03:07:44 itojun Exp $ */
+/* $OpenBSD: in6_ifattach.c,v 1.45 2007/06/08 09:31:38 henning Exp $ */
/* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */
/*
@@ -202,22 +202,6 @@ found:
}
break;
- case IFT_ARCNET:
- if (addrlen != 1)
- return -1;
- if (!addr[0])
- return -1;
-
- bzero(&in6->s6_addr[8], 8);
- in6->s6_addr[15] = addr[0];
-
- /*
- * due to insufficient bitwidth, we mark it local.
- */
- in6->s6_addr[8] &= ~EUI64_GBIT; /* g bit to "individual" */
- in6->s6_addr[8] |= EUI64_UBIT; /* u bit to "local" */
- break;
-
case IFT_GIF:
/*
* RFC2893 says: "SHOULD use IPv4 address as ifid source".