Commit 2c50fc6b authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Send multihop requests when a route is about to time-out.

parent a80f7d17
......@@ -757,7 +757,8 @@ expire_routes(void)
if(route->installed && route->refmetric < INFINITY) {
if(route->time < now.tv_sec - MAX(5, route_timeout_delay - 25))
send_unicast_request(route->nexthop, route->dest, 1, -1);
send_unicast_request(route->nexthop, route->dest,
max_hopcount, -1);
}
i++;
}
......
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