diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/pkg/miniupnpd.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/pkg/miniupnpd.inc b/usr/local/pkg/miniupnpd.inc index a7ebfb6..7f37d72 100644 --- a/usr/local/pkg/miniupnpd.inc +++ b/usr/local/pkg/miniupnpd.inc @@ -156,10 +156,9 @@ /* above function returns iface if fail */ if($if!=$iface) { $addr = find_interface_ip($if); - $bits = find_interface_subnet($if); /* check that the interface has an ip address before adding parameters */ if (is_ipaddr($addr)) { - $config_text .= "listening_ip={$addr}/{$bits}\n"; + $config_text .= "listening_ip={$if}\n"; if(!$ifaces_active) { $webgui_ip = $addr; $ifaces_active = $iface; |