Commit ba6e77ce authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Update xroute's metrics in consider_xroute.

parent dce724f6
......@@ -169,6 +169,8 @@ consider_xroute(struct xroute *xroute)
if(xroute->nexthop != route->nexthop)
return;
update_xroute_metric(xroute, xroute->cost);
installed = find_installed_myxroute(xroute->prefix, xroute->plen);
if(!installed) {
installed = find_installed_xroute(xroute->prefix, xroute->plen);
......
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