Commit 6eb7a30b authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Ask for a new seqno when a route is about to expire.

parent 76eb3c69
...@@ -758,7 +758,7 @@ expire_routes(void) ...@@ -758,7 +758,7 @@ expire_routes(void)
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(5, route_timeout_delay - 25))
send_unicast_request(route->nexthop, route->dest, send_unicast_request(route->nexthop, route->dest,
max_request_hopcount, route->dest->seqno); max_request_hopcount, -1);
} }
i++; 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