diff options
| author | slioch <slioch@eng-140.vyatta.com> | 2009-02-09 11:47:30 -0800 |
|---|---|---|
| committer | slioch <slioch@eng-140.vyatta.com> | 2009-02-09 11:47:30 -0800 |
| commit | 0d1be5c8cbab9a41cca7e7b8c6f4ad3491150215 (patch) | |
| tree | 3281b5282732ae74843dafac8d545633f4a10ca4 /scripts | |
| parent | 4841f59c457d89b542916d2768e390cd21c5ec7e (diff) | |
| download | vyatta-wanloadbalance-0d1be5c8cbab9a41cca7e7b8c6f4ad3491150215.tar.gz vyatta-wanloadbalance-0d1be5c8cbab9a41cca7e7b8c6f4ad3491150215.zip | |
added support for global level conntrack flushing on interface state change. Default configuration is to disable this feature.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index 56d4bc4..c287ddd 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -29,6 +29,10 @@ sub write_health { print FILE_LCK "disable-source-nat\n"; } + if ($config->exists("load-balancing wan flush-connections")) { + print FILE_LCK "flush-conntrack\n"; + } + $config->setLevel("load-balancing wan interface-health"); my @eths = $config->listNodes(); |
