summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-04-17 04:44:52 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-04-17 04:44:52 +0000
commit21c2e6c965d401f6359663687069efbf69376e00 (patch)
tree324898ea862ad4e4badb4620d5d2e6159627b0f0 /sys/netinet6/ip6_input.c
parentfe45f154d1f286c742242fe504ccad68e20378f9 (diff)
revisit in6_ifattach(). (1) make it more persistent about initializaing an
interface (2) cleanup interface id selection. run NUD on p2p interface (required by spec for bidir p2p interface). add "ndp -i interface" (can tweak per-interface ND flag). (sync with more recent kame)
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index e39d5513e0b..94370a45385 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.9 2000/03/22 03:50:35 itojun Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.10 2000/04/17 04:44:50 itojun Exp $ */
/* $KAME: ip6_input.c,v 1.72 2000/03/21 09:23:19 itojun Exp $ */
/*
@@ -182,17 +182,13 @@ static void
ip6_init2(dummy)
void *dummy;
{
- int ret;
-
- /* get EUI64 from somewhere */
- ret = in6_ifattach_getifid(NULL);
#if 1
/*
* to route local address of p2p link to loopback,
* assign loopback address first.
*/
- in6_ifattach(&loif[0], IN6_IFT_LOOP, NULL, 0);
+ in6_ifattach(&loif[0], NULL);
#else
/* you MUST bring lo0 up manually, in rc script. */
#endif