summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2008-10-02 00:32:59 +0000
committercperciva <cperciva@FreeBSD.org>2008-10-02 00:32:59 +0000
commit678568e481a3fae7c641bf7fa9e8a100f417c803 (patch)
tree1fd570d319aaf51979955781b18f87d3fa93eeee /sys/netinet6/in6.h
parent41bed7d06342a059bf166d2923dd9051694e36b3 (diff)
downloadFreeBSD-src-678568e481a3fae7c641bf7fa9e8a100f417c803.zip
FreeBSD-src-678568e481a3fae7c641bf7fa9e8a100f417c803.tar.gz
Default to ignoring potentially evil IPv6 Neighbor Solicitation
messages. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:10.nd6 Thanks to: jinmei, bz
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index db0ab11..ffdb37f4 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -599,7 +599,9 @@ struct ip6_mtuinfo {
/* New entries should be added here from current IPV6CTL_MAXID value. */
/* to define items, should talk with KAME guys first, for *BSD compatibility */
#define IPV6CTL_STEALTH 45
-#define IPV6CTL_MAXID 46
+
+#define ICMPV6CTL_ND6_ONLINKNSRFC4861 47
+#define IPV6CTL_MAXID 48
#endif /* __BSD_VISIBLE */
/*
OpenPOWER on IntegriCloud