mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Initialize variable to clear eclipse error
This commit is contained in:
parent
5370388a3a
commit
cf97af9aef
@ -1233,6 +1233,8 @@ function generate_user_filter_rule($rule, $ngcounter) {
|
||||
$lansa = gen_subnet($lancfg['ipaddr'], $lancfg['subnet']);
|
||||
$lansn = $lancfg['subnet'];
|
||||
|
||||
$int = "";
|
||||
|
||||
$optcfg = array();
|
||||
generate_optcfg_array($optcfg);
|
||||
|
||||
|
||||
@ -139,6 +139,8 @@
|
||||
$configtext = "ext_ifname=".get_real_wan_interface()."\n";
|
||||
$configtext .= "port=2189\n";
|
||||
|
||||
$ifaces_active = "";
|
||||
|
||||
/* since config is written before this file invoked we don't need to read post data */
|
||||
if(upnp_config('enable') && upnp_config('iface_array'))
|
||||
$iface_array = explode(',',upnp_config('iface_array'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user