diff options
author | root <root@eng-140.vyatta.com> | 2008-08-22 13:21:15 -0700 |
---|---|---|
committer | root <root@eng-140.vyatta.com> | 2008-08-22 13:21:15 -0700 |
commit | 065c25acb5c3d10f4015b5bfa181445c3bce901a (patch) | |
tree | 5a043317f02d331fdc6db1862d8e09596a78179e /scripts/vyatta-wanloadbalance.pl | |
parent | 8237284fe73cc722ad58ebdc47838f7fd4a969d7 (diff) | |
download | vyatta-wanloadbalance-065c25acb5c3d10f4015b5bfa181445c3bce901a.tar.gz vyatta-wanloadbalance-065c25acb5c3d10f4015b5bfa181445c3bce901a.zip |
Partial fix for bug 3332. WLB can now be configured to run without creating implicit source nat rules.
This configuration element applies to the complete wan load balance configuration.
Diffstat (limited to 'scripts/vyatta-wanloadbalance.pl')
-rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index b71c54d..9e273c5 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -24,6 +24,11 @@ sub write_health { my $valid = "false"; + + if ($config->exists("load-balancing wan disable-source-nat")) { + print FILE_LCK "disable-source-nat\n"; + } + $config->setLevel("load-balancing wan interface-health"); my @eths = $config->listNodes(); |