diff options
author | jim-p <jimp@pfsense.org> | 2012-08-02 10:23:18 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-08-02 10:23:18 -0400 |
commit | bc8a1938f5c1797213bf849f2bdb88bca72d5089 (patch) | |
tree | 4681810a298d8c5572562a47ba11ba8d76b15a76 | |
parent | f6189bec5422ff5b1febb7a47839bce7bf0cf1b5 (diff) | |
download | pfsense-bc8a1938f5c1797213bf849f2bdb88bca72d5089.zip pfsense-bc8a1938f5c1797213bf849f2bdb88bca72d5089.tar.gz |
In order for miniupnpd to latch onto IPv6, we just need to give the interface name here, not the subnet. The daemon is smart enough to latch onto the right subnet(s) here anyhow.
-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 db953d1..5d3ffd7 100644 --- a/usr/local/pkg/miniupnpd.inc +++ b/usr/local/pkg/miniupnpd.inc @@ -136,10 +136,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; |