summaryrefslogtreecommitdiff
path: root/src/lbdata.hh
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 /src/lbdata.hh
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 'src/lbdata.hh')
-rw-r--r--src/lbdata.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lbdata.hh b/src/lbdata.hh
index c92c30d..3c86854 100644
--- a/src/lbdata.hh
+++ b/src/lbdata.hh
@@ -196,7 +196,7 @@ class LBData {
typedef map<string,LBHealth>::iterator InterfaceHealthIter;
typedef map<string,LBHealth>::const_iterator InterfaceHealthConstIter;
- LBData() : _disable_source_nat(false),_disable_local_traffic(false),_flush_conntrack(false) {}
+ LBData() : _disable_source_nat(false),_enable_local_traffic(false),_flush_conntrack(false) {}
bool
error() {return false;}
@@ -223,7 +223,7 @@ class LBData {
InterfaceHealthColl _iface_health_coll;
bool _disable_source_nat;
- bool _disable_local_traffic;
+ bool _enable_local_traffic;
bool _flush_conntrack;
string _hook;
};