diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-27 21:54:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-27 21:54:34 +0000 |
commit | e9d2ee4487fc8e5574d1580c827b8f6fd64dfdd8 (patch) | |
tree | 6dc2edbb6087343b0f85fe4bae9e413122f0cabe /etc/inc/filter.inc | |
parent | e98c992a4ee547a36ccb63d53d821f736660f023 (diff) | |
download | pfsense-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.inc | 4 |
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; } |