diff options
author | slioch <slioch@eng-140.vyatta.com> | 2008-09-25 12:13:25 -0700 |
---|---|---|
committer | slioch <slioch@eng-140.vyatta.com> | 2008-09-25 12:13:25 -0700 |
commit | bdf25c7abb889b44dc9728a3abe8e153bd828324 (patch) | |
tree | 0dcdbb6dc99c61b7251896943b61ff336e0706fc /src/lbdata.hh | |
parent | 9be5bc2b6f7094cd54366aeea659be899cf0122b (diff) | |
download | vyatta-wanloadbalance-bdf25c7abb889b44dc9728a3abe8e153bd828324.tar.gz vyatta-wanloadbalance-bdf25c7abb889b44dc9728a3abe8e153bd828324.zip |
fix for bug 3710. also found and fixed another bug with restarting of wlb after changing rule set. this simplifies the application of the rules to
the mangle table.
Diffstat (limited to 'src/lbdata.hh')
-rw-r--r-- | src/lbdata.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lbdata.hh b/src/lbdata.hh index f4ddade..8715ef5 100644 --- a/src/lbdata.hh +++ b/src/lbdata.hh @@ -68,13 +68,14 @@ public: class LBHealth { public: - LBHealth() : + LBHealth(int interface_index) : _success_ct(0), _failure_ct(0), _ping_resp_time(0), _hresults(10), _is_active(true), - _state_changed(true) + _state_changed(true), + _interface_index(interface_index) {} void put(int rtt); @@ -99,6 +100,7 @@ class LBHealth { LBHealthHistory _hresults; bool _is_active; bool _state_changed; + int _interface_index; }; |