summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_proto.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-08-07 09:11:54 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-08-07 09:11:54 +0000
commit6c2c485cabdbeeaa2c3705d6e53cf7f4862abe8d (patch)
tree994300a1e7ab020a935badee72049e47b6c6335f /sys/netinet6/in6_proto.c
parent37044f9dc4154656f80f64756350415c67477404 (diff)
make net.inet6.ip6.redirect actually work. from kame
Diffstat (limited to 'sys/netinet6/in6_proto.c')
-rw-r--r--sys/netinet6/in6_proto.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index 8982aa4a08f..50bdd85af92 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_proto.c,v 1.41 2003/06/02 23:28:15 millert Exp $ */
+/* $OpenBSD: in6_proto.c,v 1.42 2003/08/07 09:11:53 itojun Exp $ */
/* $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $ */
/*
@@ -238,12 +238,8 @@ struct domain inet6domain =
#endif /* GATEWAY6 */
#endif /* !IPV6FORWARDING */
-#ifndef IPV6_SENDREDIRECTS
-#define IPV6_SENDREDIRECTS 1
-#endif
-
int ip6_forwarding = IPV6FORWARDING; /* act as router? */
-int ip6_sendredirects = IPV6_SENDREDIRECTS;
+int ip6_sendredirects = 1;
int ip6_defhlim = IPV6_DEFHLIM;
int ip6_defmcasthlim = IPV6_DEFAULT_MULTICAST_HOPS;
int ip6_accept_rtadv = 0; /* "IPV6FORWARDING ? 0 : 1" is dangerous */