summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-05 16:19:39 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-05 16:19:39 +0000
commit01ba0a7229613235b16e7c7a11683143abd69508 (patch)
treeb01acc1d94d93a380b460ea99b74b95f1908ada8 /etc
parent3435dc355623202f3fc890fca3275c5fd89f35fb (diff)
downloadpfsense-01ba0a7229613235b16e7c7a11683143abd69508.zip
pfsense-01ba0a7229613235b16e7c7a11683143abd69508.tar.gz
Fixed variable definition.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc4
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']);
OpenPOWER on IntegriCloud