From 8718669cafdb241a7b801489ba0d6dd20f8d1e7e Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 19 Sep 2014 16:53:48 -0300 Subject: Recent versions of miniupnpd does not accept IPv4 address anymore, use interface name always. It fixes #3874 --- usr/local/pkg/miniupnpd.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr/local/pkg/miniupnpd.inc') diff --git a/usr/local/pkg/miniupnpd.inc b/usr/local/pkg/miniupnpd.inc index 31067d0..4cad0e5 100644 --- a/usr/local/pkg/miniupnpd.inc +++ b/usr/local/pkg/miniupnpd.inc @@ -159,10 +159,7 @@ $bits = find_interface_subnet($if); /* check that the interface has an ip address before adding parameters */ if (is_ipaddr($addr)) { - if ($upnp_config['listen_on_iface']) - $config_text .= "listening_ip={$if}\n"; - else - $config_text .= "listening_ip={$addr}/{$bits}\n"; + $config_text .= "listening_ip={$if}\n"; if(!$ifaces_active) { $webgui_ip = $addr; $ifaces_active = $iface; -- cgit v1.1