Commit 2cad44b8 authored by Claes Sjofors's avatar Claes Sjofors

Remote TCP, timeout disabled if LinkTimeout is zero

parent eef5182b
......@@ -874,7 +874,7 @@ int main(int argc, char *argv[])
time_since_keepalive = 0;
}
if (time_since_rcv >= rn_tcp->LinkTimeout) {
if (time_since_rcv >= rn_tcp->LinkTimeout && rn_tcp->LinkTimeout != 0) {
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