diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-02-04 16:45:08 -0800 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-02-04 16:45:08 -0800 |
commit | 6fc0de67999f8d8fee10ea7e95ac5601bcb5ff36 (patch) | |
tree | 866acd3d869af8af46b4352ddb7714e7fbbbe1f6 /src/lbdata.hh | |
parent | e357cbea7769efed1fe897dd800507bc55a15231 (diff) | |
download | vyatta-wanloadbalance-6fc0de67999f8d8fee10ea7e95ac5601bcb5ff36.tar.gz vyatta-wanloadbalance-6fc0de67999f8d8fee10ea7e95ac5601bcb5ff36.zip |
whole raft of cli related changes. Fixed bugs in display output--added error checking on some configuration combinations. added
additional error checking in the code.
Diffstat (limited to 'src/lbdata.hh')
-rw-r--r-- | src/lbdata.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lbdata.hh b/src/lbdata.hh index 012d377..d05bf2d 100644 --- a/src/lbdata.hh +++ b/src/lbdata.hh @@ -75,6 +75,8 @@ public: unsigned long _last_success; unsigned long _last_failure; + unsigned long _failure_count; + static int _buffer_size; vector<int> _resp_data; int _index; @@ -102,6 +104,9 @@ class LBHealth { unsigned long last_failure() const {return _hresults._last_failure;} + unsigned long + failure_count() const {return _failure_ct;} + int _success_ct; int _failure_ct; string _ping_target; |