summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-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