diff options
| author | slioch <slioch@eng-140.vyatta.com> | 2009-04-02 09:33:15 -0700 |
|---|---|---|
| committer | slioch <slioch@eng-140.vyatta.com> | 2009-04-02 09:33:15 -0700 |
| commit | 3c28df532e783cb42d0f003da402783767308e6d (patch) | |
| tree | a63b623e6d128db891b29ac873d6781f3232c371 /scripts | |
| parent | c9229987f30ddc568568ac743c037d1a2f62c7d0 (diff) | |
| download | vyatta-wanloadbalance-3c28df532e783cb42d0f003da402783767308e6d.tar.gz vyatta-wanloadbalance-3c28df532e783cb42d0f003da402783767308e6d.zip | |
added source based routing 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 c287ddd..c0c4a8d 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 enable-source-based-routing")) { + print FILE_LCK "enable-source-based-routing\n"; + } + if ($config->exists("load-balancing wan flush-connections")) { print FILE_LCK "flush-conntrack\n"; } |
