summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3f9a974..bef1546 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -365,7 +365,7 @@ function return_gateway_groups_array() {
$gwname = $itemsplit[0];
/* Do it here rather than reiterating again the group in case no member is up. */
- $backupplan[$tier] = $gwname;
+ $backupplan[$tier][] = $gwname;
/* check if the gateway is available before adding it to the array */
if (!empty($gateway_status[$gwname])) {
OpenPOWER on IntegriCloud