diff options
author | slioch <slioch@eng-140.vyatta.com> | 2009-02-09 11:47:30 -0800 |
---|---|---|
committer | slioch <slioch@eng-140.vyatta.com> | 2009-02-09 11:47:30 -0800 |
commit | 0d1be5c8cbab9a41cca7e7b8c6f4ad3491150215 (patch) | |
tree | 3281b5282732ae74843dafac8d545633f4a10ca4 /src/lbdata.hh | |
parent | 4841f59c457d89b542916d2768e390cd21c5ec7e (diff) | |
download | vyatta-wanloadbalance-0d1be5c8cbab9a41cca7e7b8c6f4ad3491150215.tar.gz vyatta-wanloadbalance-0d1be5c8cbab9a41cca7e7b8c6f4ad3491150215.zip |
added support for global level conntrack flushing on interface state change. Default configuration is to disable this feature.
Diffstat (limited to 'src/lbdata.hh')
-rw-r--r-- | src/lbdata.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lbdata.hh b/src/lbdata.hh index 25f0f80..03e617f 100644 --- a/src/lbdata.hh +++ b/src/lbdata.hh @@ -116,7 +116,7 @@ class LBData { typedef map<string,LBHealth>::iterator InterfaceHealthIter; typedef map<string,LBHealth>::const_iterator InterfaceHealthConstIter; - LBData() : _disable_source_nat(false) {} + LBData() : _disable_source_nat(false),_flush_conntrack(false) {} bool error() {return false;} @@ -140,6 +140,7 @@ class LBData { InterfaceHealthColl _iface_health_coll; bool _disable_source_nat; + bool _flush_conntrack; }; #endif //__LBDATA_HH__ |