Commit 53bb0afa authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't reconsider newish routes.

This is no longer needed now that consider_route doesn't take a
route's age into account.
parent f9562668
......@@ -527,11 +527,6 @@ trigger_route_change(struct route *route,
return;
}
/* consider_route avoids very recent routes, so reconsider newish routes
even when their metric didn't decrease. */
if(route->metric < oldmetric || route->origtime >= now.tv_sec - 240)
consider_route(route);
}
/* We just lost the installed route to a given destination. */
......
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