summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2008-06-11 06:30:37 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2008-06-11 06:30:37 +0000
commit6e2057037e5c43bc7b88c33b2fabad186bec204d (patch)
treef7fc445c32ef0a25287f75d454a176c2120691c1 /sys/netinet6/in6.c
parente066d625d113d9f5ae8a7ec7deb270370b8cdadf (diff)
From KAME, allow adjustable limits on NDP entries and discovered routes.
ok mpf naddy
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r--sys/netinet6/in6.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index e15fd857c37..fc24a021ec4 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.c,v 1.75 2008/05/11 08:13:02 claudio Exp $ */
+/* $OpenBSD: in6.c,v 1.76 2008/06/11 06:30:36 mcbride Exp $ */
/* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */
/*
@@ -2634,6 +2634,8 @@ in6_domifattach(ifp)
M_WAITOK | M_ZERO);
ext->nd_ifinfo = nd6_ifattach(ifp);
+ ext->nprefixes = 0;
+ ext->ndefrouters = 0;
return ext;
}