Commit f12debd6 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Be more paranoid about sending spontaneous requests.

parent fc94e648
...@@ -756,7 +756,7 @@ expire_routes(void) ...@@ -756,7 +756,7 @@ expire_routes(void)
update_route_metric(route); update_route_metric(route);
if(route->installed && route->refmetric < INFINITY) { if(route->installed && route->refmetric < INFINITY) {
if(route->time < now.tv_sec - MAX(5, route_timeout_delay - 25)) if(route->time < now.tv_sec - MAX(10, route_timeout_delay - 25))
send_unicast_request(route->nexthop, route->dest, send_unicast_request(route->nexthop, route->dest,
max_request_hopcount, -1); max_request_hopcount, -1);
} }
......
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