aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/Proxy.cpp')
-rwxr-xr-xnxcomp/Proxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp
index 796568375..8e1d0b565 100755
--- a/nxcomp/Proxy.cpp
+++ b/nxcomp/Proxy.cpp
@@ -3645,7 +3645,7 @@ int Proxy::handlePing()
{
int diffPing = diffTimestamp(timeouts_.pingTs, nowTs);
- if (diffPing >= (control -> PingTimeout -
+ if (diffPing < 0 || diffPing >= (control -> PingTimeout -
control -> LatencyTimeout * 5))
{
#if defined(TEST) || defined(INFO) || defined(PING)