Commit 03b9465b authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

Remote tcpip LinkTimeout bugfix, feqf invertion was lost

parent ec025559
......@@ -873,7 +873,7 @@ int main(int argc, char* argv[])
time_since_keepalive = 0;
}
if (time_since_rcv >= rn_tcp->LinkTimeout && feqf(rn_tcp->LinkTimeout, 0.0f)) {
if (time_since_rcv >= rn_tcp->LinkTimeout && !feqf(rn_tcp->LinkTimeout, 0.0f)) {
if (rn_tcp->LinkUp) {
errh_Info("TCP link down %s", rn_tcp->RemoteHostname);
rn_tcp->LinkUp = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment