Created attachment 191763 [details] very crude patch Overview: When MiniDLNA receives a "M-SEARCH" message an IGMP membership report message is triggered. This message follows the default route instead of being sent out on the interface MiniDLNA is listening on. Steps to Reproduce: 1) Configure MiniDLNA to listen on an interface that does not have the default route (and no route for 224.0.0.22) and start it. 2) After MiniDLNA is running, fire up a DLNA client (e.g. VLC) Actual Results: The client (VLC) does not discover the MiniDLNA server (immediately) Expected Results: The client (VLC) should discover the MiniDLNA server (immediately) Build Date & Hardware: MiniDLNA 1.2.1, FreeBSD 11.1-RELEASE Additional Information: "Prior to FreeBSD 7.0, if the imr_interface member is within the network range 0.0.0.0/8, it is treated as an interface index in the system interface MIB, as per the RIP Version 2 MIB Extension (RFC-1724). In versions of FreeBSD since 7.0, this behavior is no longer supported." https://www.freebsd.org/cgi/man.cgi?query=ip&apropos=0&sektion=4&manpath=FreeBSD+11.1-RELEASE&arch=default&format=html https://forums.freebsd.org/threads/minidlna-not-discovered-multicast-issue.64947/ http://docs.freebsd.org/cgi/mid.cgi?f85a4da6-a06f-e045-36e0-2d82c67e8239
I think this should be fixed by this: https://github.com/glebius/minidlna/commit/43573257e45728e070a5f30bd74648c86537e625