summaryrefslogtreecommitdiffstats
path: root/sbin/routed
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-06-16 05:08:57 +0000
committerbms <bms@FreeBSD.org>2004-06-16 05:08:57 +0000
commit84b5fefda58104aa45faf60b473824c216c87c27 (patch)
tree8996284f5a7b3281fcd05a45716c9f94944ae6d7 /sbin/routed
parent9756fdf7681e47cac2fd8c611bea20724470df33 (diff)
downloadFreeBSD-src-84b5fefda58104aa45faf60b473824c216c87c27.zip
FreeBSD-src-84b5fefda58104aa45faf60b473824c216c87c27.tar.gz
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
Diffstat (limited to 'sbin/routed')
-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 cbb4394..9860e4d 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
OpenPOWER on IntegriCloud