summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2014-08-27 14:04:17 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2014-08-27 14:04:17 +0000
commita37c10a70e5b52eda69a999d38df285e81554e69 (patch)
tree725f796a2533b7d6612855b9390a900f027b57f9 /sys/netinet
parente9646141ed76dc6df81a46a37d162cd4cd094752 (diff)
Nuke net.inet6.icmp6.rediraccept and allow redirects on interfaces
with autoconf enabled. If one is doing SLAAC one does already trust link local icmp6 so the policy for icmp6 redirects should be the same. pointed out by & OK bluhm@; OK henning@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/icmp6.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h
index 68c82666ad9..f67e2480c62 100644
--- a/sys/netinet/icmp6.h
+++ b/sys/netinet/icmp6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.h,v 1.40 2014/07/11 12:20:26 benno Exp $ */
+/* $OpenBSD: icmp6.h,v 1.41 2014/08/27 14:04:15 florian Exp $ */
/* $KAME: icmp6.h,v 1.84 2003/04/23 10:26:51 itojun Exp $ */
/*
@@ -542,7 +542,7 @@ struct icmp6stat {
#define ICMPV6CTL_NAMES { \
{ 0, 0 }, \
{ 0, 0 }, \
- { "rediraccept", CTLTYPE_INT }, \
+ { 0, 0 }, \
{ "redirtimeout", CTLTYPE_INT }, \
{ 0, 0 }, \
{ 0, 0 }, \
@@ -566,7 +566,7 @@ struct icmp6stat {
#define ICMPV6CTL_VARS { \
NULL, \
NULL, \
- &icmp6_rediraccept, \
+ NULL, \
&icmp6_redirtimeout, \
NULL, \
NULL, \
@@ -668,7 +668,6 @@ do { \
} \
} while (0)
-extern int icmp6_rediraccept; /* accept/process redirects */
extern int icmp6_redirtimeout; /* cache time for redirect routes */
#endif /* _KERNEL */