Revision 318a0812
Added by Seth Mos over 13 years ago
usr/local/pkg/miniupnpd.inc | ||
---|---|---|
139 | 139 |
$bits = find_interface_subnet($if); |
140 | 140 |
/* check that the interface has an ip address before adding parameters */ |
141 | 141 |
if (is_ipaddr($addr)) { |
142 |
$config_text .= "listening_ip={$addr}/$bits\n";
|
|
142 |
$config_text .= "listening_ip={$addr}/{$bits}\n";
|
|
143 | 143 |
if(!$ifaces_active) { |
144 | 144 |
$webgui_ip = $addr; |
145 | 145 |
$ifaces_active = $iface; |
Also available in: Unified diff
Use curlies to be very sure, yes