Commit d66f258c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Be slightly more aggressive when switching routes.

parent 9d73a56a
...@@ -380,7 +380,7 @@ consider_route(struct route *route) ...@@ -380,7 +380,7 @@ consider_route(struct route *route)
if(installed == NULL) if(installed == NULL)
goto install; goto install;
if(installed->metric >= route->metric + 576) if(installed->metric >= route->metric + 384)
goto install; goto install;
if(route->origtime >= now.tv_sec - 30) if(route->origtime >= now.tv_sec - 30)
......
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