summaryrefslogtreecommitdiff
path: root/src/lbdata.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lbdata.hh')
-rw-r--r--src/lbdata.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lbdata.hh b/src/lbdata.hh
index 3bfdf76..3f90b1e 100644
--- a/src/lbdata.hh
+++ b/src/lbdata.hh
@@ -25,8 +25,8 @@ class LBRule {
LBRule() :
_proto("all"),
_exclude(false),
- _failover(false)
- {}
+ _failover(false),
+ _enable_source_based_routing(false) {}
public:
string _proto;
@@ -41,6 +41,8 @@ class LBRule {
bool _exclude;
bool _failover;
+ bool _enable_source_based_routing;
+
string _in_iface;
InterfaceDistColl _iface_dist_coll;
};
@@ -116,7 +118,7 @@ class LBData {
typedef map<string,LBHealth>::iterator InterfaceHealthIter;
typedef map<string,LBHealth>::const_iterator InterfaceHealthConstIter;
- LBData() : _disable_source_nat(false),_enable_source_based_routing(false),_flush_conntrack(false) {}
+ LBData() : _disable_source_nat(false),_flush_conntrack(false) {}
bool
error() {return false;}
@@ -140,7 +142,6 @@ class LBData {
InterfaceHealthColl _iface_health_coll;
bool _disable_source_nat;
- bool _enable_source_based_routing;
bool _flush_conntrack;
};