aboutsummaryrefslogtreecommitdiff
path: root/sbin/routed/defs.h
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2004-06-16 05:08:57 +0000
committerBruce M Simpson <bms@FreeBSD.org>2004-06-16 05:08:57 +0000
commitc90cea00937484871febd7910ddeab0eb34bdd7c (patch)
tree8996284f5a7b3281fcd05a45716c9f94944ae6d7 /sbin/routed/defs.h
parent26c3ef5325f2fb0f62c7e076773e5f6155dfe553 (diff)
downloadsrc-c90cea00937484871febd7910ddeab0eb34bdd7c.tar.gz
src-c90cea00937484871febd7910ddeab0eb34bdd7c.zip
Turn on RFC 1724 compliant behaviour with regards to IP_ADD_MEMBERSHIP;
routed should be able to specify multicast memberships to be added by interface index. This should fix the unnumbered / point-to-point case for RIPv2. PR: bin/51927 Requested by: Eugene Grosbein
Notes
Notes: svn path=/head/; revision=130557
Diffstat (limited to 'sbin/routed/defs.h')
-rw-r--r--sbin/routed/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/defs.h b/sbin/routed/defs.h
index cbb439406cc7..9860e4d77b7f 100644
--- a/sbin/routed/defs.h
+++ b/sbin/routed/defs.h
@@ -124,7 +124,7 @@
/* Turn on if IP_{ADD,DROP}_MEMBERSHIP and IP_MULTICAST_IF considers address
* within 0.0.0.0/8 as interface index.
*/
-#ifdef __NetBSD__
+#ifdef __FreeBSD__
#define MCAST_IFINDEX
#endif