Commit 7ae147e8 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't update_xroute_metric for uninstalled gateways.

parent 6a233918
......@@ -279,8 +279,6 @@ update_xroute_metric(struct xroute *xroute, int cost)
struct route *gwroute;
gwroute = find_installed_route(xroute->gateway);
if(!gwroute)
gwroute = find_best_route(xroute->gateway);
if(!gwroute)
return;
......
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