Package: minidlna
Version: 1.1.2+dfsg-1
Severity: wishlist
Tags: patch

I would like minidlna to be used by clients on a different subnet.
I have arranged for the SSDP multicast to be routed to minidlna, but
it refuses to respond to it since it's from a different subnet.

I don't know why that check was there, but simply removing it allows
it to work fine for me.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- minissdp.c~	2014-04-21 17:06:07.000000000 -0400
+++ minissdp.c	2014-05-23 18:00:00.009555769 -0400
@@ -633,12 +633,6 @@
 					break;
 				}
 			}
-			if (n_lan_addr == i)
-			{
-				DPRINTF(E_DEBUG, L_SSDP, "Ignoring SSDP M-SEARCH on other interface [%s]\n",
-					inet_ntoa(sendername.sin_addr));
-				return;
-			}
 			DPRINTF(E_DEBUG, L_SSDP, "SSDP M-SEARCH from %s:%d ST: %.*s, MX: %.*s, MAN: %.*s\n",
 				inet_ntoa(sendername.sin_addr),
 				ntohs(sendername.sin_port),

Reply via email to