summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 9bf162c..93c7140 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -272,6 +272,7 @@ function return_gateways_array($disabled = false) {
$gateways_arr = array();
+ if (0) {
$i = 0;
/* Process/add all the configured gateways. */
if (is_array($config['gateways']['gateway_item'])) {
@@ -303,6 +304,7 @@ function return_gateways_array($disabled = false) {
$i++;
}
}
+ }
/* Loop through all interfaces with a gateway and add it to a array */
if ($disabled == false)
@@ -568,4 +570,4 @@ function get_interface_gateway($interface, &$dynamic = false) {
return ($gw);
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud