diff options
| author | slioch <slioch@eng-140.vyatta.com> | 2009-07-27 17:51:34 -0700 |
|---|---|---|
| committer | slioch <slioch@eng-140.vyatta.com> | 2009-07-27 17:51:34 -0700 |
| commit | fe6f0901ab0970bcc937328e6093f5b0f118230d (patch) | |
| tree | 7f65d496da6a496ef5383075f164e7d71f7a760d /src/lbpathtest.cc | |
| parent | b80e518d20d05646404a28c2a5cbfc86d0221600 (diff) | |
| download | vyatta-wanloadbalance-fe6f0901ab0970bcc937328e6093f5b0f118230d.tar.gz vyatta-wanloadbalance-fe6f0901ab0970bcc937328e6093f5b0f118230d.zip | |
fix bug in failed test completion.
Diffstat (limited to 'src/lbpathtest.cc')
| -rw-r--r-- | src/lbpathtest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbpathtest.cc b/src/lbpathtest.cc index d865639..a886a37 100644 --- a/src/lbpathtest.cc +++ b/src/lbpathtest.cc @@ -88,7 +88,7 @@ LBPathTest::start(LBData &lb_data) //wait on responses i = coll.begin(); while (i != coll.end()) { - if ((*i)->recv_test() != -1) { + if ((*i)->recv_test() > -1) { coll.erase(i++); } else { |
