Commit a05a0ff6 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in consider_all_xroutes.

parent 061f0d37
...@@ -187,7 +187,7 @@ consider_all_xroutes(struct route *route) ...@@ -187,7 +187,7 @@ consider_all_xroutes(struct route *route)
for(i = 0; i < numxroutes; i++) { for(i = 0; i < numxroutes; i++) {
if(xroutes[i].gateway == route->dest && if(xroutes[i].gateway == route->dest &&
xroutes[i].nexthop == route->nexthop) xroutes[i].nexthop == route->nexthop)
consider_route(route); consider_xroute(&xroutes[i]);
} }
} }
......
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