summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-27 21:54:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-27 21:54:34 +0000
commite9d2ee4487fc8e5574d1580c827b8f6fd64dfdd8 (patch)
tree6dc2edbb6087343b0f85fe4bae9e413122f0cabe /etc/inc/filter.inc
parente98c992a4ee547a36ccb63d53d821f736660f023 (diff)
downloadpfsense-e9d2ee4487fc8e5574d1580c827b8f6fd64dfdd8.zip
pfsense-e9d2ee4487fc8e5574d1580c827b8f6fd64dfdd8.tar.gz
Add round robin and sticky address to ougoing load balancing entries.
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index b390bf0..faeef31 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1380,7 +1380,7 @@ EOD;
/* Setup outgoing load balancing */
if ($config['nat']['outgoingloadbalancing']['rule'] <> "" and
- isset($config['nat']['outgoingloadbalancing']['enabled'])
+ isset($config['nat']['outgoingloadbalancing']['enable'])
and $rule['interface'] == "lan") {
$tmprules = " route-to { ";
$isfirst = 0;
@@ -1392,7 +1392,7 @@ EOD;
$isfirst = 1;
}
}
- $tmprules .= "} ";
+ $tmprules .= "} round-robin sticky-address ";
$line .= $tmprules;
}
OpenPOWER on IntegriCloud