diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-05 16:19:39 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-05 16:19:39 +0000 |
commit | 01ba0a7229613235b16e7c7a11683143abd69508 (patch) | |
tree | b01acc1d94d93a380b460ea99b74b95f1908ada8 /etc/inc | |
parent | 3435dc355623202f3fc890fca3275c5fd89f35fb (diff) | |
download | pfsense-01ba0a7229613235b16e7c7a11683143abd69508.zip pfsense-01ba0a7229613235b16e7c7a11683143abd69508.tar.gz |
Fixed variable definition.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/gwlb.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 90949d4..e53673a 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -264,10 +264,10 @@ function return_gateways_array($disabled = false) { } else { $iflist = get_configured_interface_with_descr(false, true); } - + + $i = 0; /* tack on all the hard defined gateways as well */ if(is_array($config['gateways']['gateway_item'])) { - $i = 0; foreach($config['gateways']['gateway_item'] as $gateway) { if($gateway['gateway'] == "dynamic") { $gateway['gateway'] = get_interface_gateway($gateway['interface']); |