Commit b1dfee1e authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't forward redundant requests.

parent d20d979b
...@@ -304,6 +304,9 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix, ...@@ -304,6 +304,9 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix,
return; return;
} }
if(request_redundant(neigh->network, prefix, plen, seqno, router_hash))
return;
/* Let's try to 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;
......
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