summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-12-04 15:29:08 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-12-05 23:26:32 +0100
commitd616d6397af219205562bf77e79d24028d6bc716 (patch)
treed574983e524bbed4bc179261c7c973130488f528 /zebra
parentzebra: Replace SELECTED_FIB flag with a rib_dest_t pointer (diff)
downloadfrr-d616d6397af219205562bf77e79d24028d6bc716.tar.xz
frr-d616d6397af219205562bf77e79d24028d6bc716.zip
configure, zebra: Kame is not responsible for on/off of v6 forwarding
The KAME flag should not be used to turn on/of v6 forwarding on *bsd systems. Create a configure #define to better describe what we are doing and the why of it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/ipforward_sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/ipforward_sysctl.c b/zebra/ipforward_sysctl.c
index 36212a013..cdf426b9b 100644
--- a/zebra/ipforward_sysctl.c
+++ b/zebra/ipforward_sysctl.c
@@ -87,11 +87,11 @@ int ipforward_off(void)
/* IPv6 forwarding control MIB. */
int mib_ipv6[MIB_SIZ] = {CTL_NET, PF_INET6,
-#if defined(KAME)
+#if defined(BSD_V6_SYSCTL)
IPPROTO_IPV6, IPV6CTL_FORWARDING
-#else /* NOT KAME */
+#else /* NOT BSD_V6_SYSCTL */
IPPROTO_IP, IP6CTL_FORWARDING
-#endif /* KAME */
+#endif /* BSD_V6_SYSCTL */
};
int ipforward_ipv6(void)