summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Larson <mike@ft1.vyatta.com>2009-10-02 14:43:14 -0700
committerMichael Larson <mike@ft1.vyatta.com>2009-10-02 14:43:14 -0700
commitd27fea825e6982a05f932c536c29ae483ae15575 (patch)
tree0fbec1836c548f3cccebe67575d2de0af7faf4e4 /scripts
parent3466b30bc459fe35b4cae8b645978688371b3032 (diff)
downloadvyatta-wanloadbalance-d27fea825e6982a05f932c536c29ae483ae15575.tar.gz
vyatta-wanloadbalance-d27fea825e6982a05f932c536c29ae483ae15575.zip
change name of local packet balancing tag from "disable-local-traffic" to "enable-local-traffic". This preserves previous behavior (i.e. no balancing of local traffic) by default, but can be enable
via the configuration node. Conflicts: scripts/vyatta-wanloadbalance.pl src/lbdecision.cc
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-wanloadbalance.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl
index 7e1051c..86f6b80 100644
--- a/scripts/vyatta-wanloadbalance.pl
+++ b/scripts/vyatta-wanloadbalance.pl
@@ -29,8 +29,8 @@ sub write_health {
print FILE_LCK "disable-source-nat\n";
}
- if ($config->exists("load-balancing wan disable-local-traffic")) {
- print FILE_LCK "disable-local-traffic\n";
+ if ($config->exists("load-balancing wan enable-local-traffic")) {
+ print FILE_LCK "enable-local-traffic\n";
}
if ($config->exists("load-balancing wan flush-connections")) {