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
This commit is contained in:
Bruce M Simpson 2004-06-16 05:08:57 +00:00
parent 26c3ef5325
commit c90cea0093
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130557

View File

@ -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