cvs commit: src/sys/netinet in_mcast.c
Bruce M Simpson
bms at FreeBSD.org
Mon Jul 9 10:36:49 UTC 2007
bms 2007-07-09 10:36:48 UTC
FreeBSD src repository
Fix a regression in IPv4 multicast join path (IP_ADD_MEMBERSHIP).
With the in_mcast.c code, if an interface for an IPv4 multicast join was
not specified, and a route did not exist for the specified group in the
unicast forwarding tables, the join would be rejected with the error
This change restores the old behaviour whereby if no interface is specified,
and no route exists for the group destination, the IPv4 address list is
walked to find a non-loopback, multicast-capable interface to satisfy
the join request.
This should resolve problems with starting multicast services during
system boot or when a default forwarding entry does not exist.
Approved by: re (rwatson)
Revision Changes Path
1.2 +26 -11 src/sys/netinet/in_mcast.c
More information about the cvs-src