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

Always install instead of blackhole route.

parent 0709302b
......@@ -450,6 +450,12 @@ consider_route(struct route *route)
if(installed == NULL)
goto install;
if(route->metric >= INFINITY)
return;
if(installed->metric >= INFINITY)
goto install;
if(installed->metric >= route->metric + 192)
goto install;
......
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