Based on a patch from SF user pasdVn <pasdVn3@gmx.de>. Rely on the kernel to filter out multicasts from non-member interfaces. Also get the address of the interface we received the multicast on using sockopt IP_PKTINFO. Closes: SF Patch ticket #77.
23 KiB
23 KiB