summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/vslb.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index 021bb09..c3a6187 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -57,9 +57,9 @@ function slbd_configure() {
/* virtual port */
$slbdconf .= "\t:vip-port={$vsent['port']}:\\\n";
/* fallback IP */
- $slbdconf .= "\t:sitedown={$vsent['ipaddr']}:\\\n";
+ $slbdconf .= "\t:sitedown={$vsent['sitedown']}:\\\n";
/* fallback port */
- $slbdconf .= "\t:sitedown-port={$vsent['sitedown']}:\\\n";
+ $slbdconf .= "\t:sitedown-port={$vsent['port']}:\\\n";
for ($i = 0; isset($config['load_balancer']['lbpool'][$i]); $i++) {
if ($config['load_balancer']['lbpool'][$i]['name'] == $vsent['pool']) {
OpenPOWER on IntegriCloud