mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #1122 from razzfazz/miniupnp_listen_on_interface
This commit is contained in:
commit
a6711d23f8
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user