Commit 5e002cde authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Scale the time for critically old routes by route_timeout_delay.

parent 8ee9b2f3
......@@ -626,7 +626,7 @@ expire_routes(void)
update_route_metric(route);
if(route->installed && route->refmetric < INFINITY) {
if(route->time < now.tv_sec - MAX(10, route_timeout_delay - 25))
if(route->time < now.tv_sec - MAX(10, route_timeout_delay * 7 / 8))
send_unicast_request(route->neigh,
route->src->prefix, route->src->plen,
0, 0, 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