Commit 6e5aba5f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Reformat.

parent ba8dae01
......@@ -281,8 +281,7 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix,
successor_route = find_best_route(prefix, plen, 0, neigh);
if(!successor_route || successor_route->metric >= INFINITY)
successor_route = route;
if(route && successor_route &&
else if(route && successor_route &&
successor_route->metric + 256 >= route->metric)
successor_route = route;
......
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