summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 4156afc..7a6647f 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -417,7 +417,7 @@ function return_gateway_groups_array() {
if (($int <> "") && is_ipaddr($gatewayip)) {
$gateway_groups_array[$group['name']][$tiernr]['int'] = "$int";
$gateway_groups_array[$group['name']][$tiernr]['gwip'] = "$gatewayip";
- $gateway_groups_array[$group['name']][$tiernr]['weight'] = isset($gateway['weight']) ? $gateway['weight'] : 0;
+ $gateway_groups_array[$group['name']][$tiernr]['weight'] = isset($gateway['weight']) ? $gateway['weight'] : 1;
}
}
/* we should have the 1st available tier now, exit stage left */
OpenPOWER on IntegriCloud