summaryrefslogtreecommitdiff
path: root/scripts/vyatta-wanloadbalance.pl
diff options
context:
space:
mode:
authorEwald van Geffen <ewald@abcdef.be>2014-08-16 03:02:15 +0200
committerDaniil Baturin <daniil@baturin.org>2014-09-01 00:33:56 +0200
commit461db303287b4f838b68b120a9656c9fc31070b2 (patch)
tree5005c28298529953efc69a9e0305d8c55ebea7dc /scripts/vyatta-wanloadbalance.pl
parent060c91d9d15c56f18eefc06ca1fd1a8740c1b3a2 (diff)
downloadvyatta-wanloadbalance-461db303287b4f838b68b120a9656c9fc31070b2.tar.gz
vyatta-wanloadbalance-461db303287b4f838b68b120a9656c9fc31070b2.zip
Vyatta Bugfix 6245: Sticky incoming connection support for WLB
Signed-off-by: Daniil Baturin <daniil@baturin.org>
Diffstat (limited to 'scripts/vyatta-wanloadbalance.pl')
-rw-r--r--scripts/vyatta-wanloadbalance.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl
index dde7387..a8f69de 100644
--- a/scripts/vyatta-wanloadbalance.pl
+++ b/scripts/vyatta-wanloadbalance.pl
@@ -32,6 +32,10 @@ sub write_health {
if ($config->exists("load-balancing wan enable-local-traffic")) {
print FILE_LCK "enable-local-traffic\n";
}
+
+ if ($config->exists("load-balancing wan sticky-connections inbound")) {
+ print FILE_LCK "sticky-connections inbound\n";
+ }
if ($config->exists("load-balancing wan flush-connections")) {
print FILE_LCK "flush-conntrack\n";