Commit 60025bc6 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Random reformatting.

parent 6d5ecf0e
...@@ -304,14 +304,14 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix, ...@@ -304,14 +304,14 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix,
return; return;
} }
/* Let's forward this request. */ /* Let's try to forward this request. */
if(route && route->metric < INFINITY) if(route && route->metric < INFINITY)
successor = route->neigh; successor = route->neigh;
if(!successor || successor == neigh) { if(!successor || successor == neigh) {
struct route *other_route; /* We were about to forward a request to its requestor. Try to
/* We're about to forward a request to the requestor. Try to
find a different neighbour to forward the request to. */ find a different neighbour to forward the request to. */
struct route *other_route;
other_route = find_best_route(prefix, plen, 0, neigh); other_route = find_best_route(prefix, plen, 0, neigh);
if(other_route && other_route->metric < INFINITY) if(other_route && other_route->metric < INFINITY)
......
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