Commit 51f4ffc8 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't resend unfeasible requests.

Rely on periodic updates instead.
parent faa5cc11
...@@ -443,10 +443,11 @@ send_unfeasible_request(struct neighbour *neigh, int force, ...@@ -443,10 +443,11 @@ send_unfeasible_request(struct neighbour *neigh, int force,
} }
if(force || !route || route->metric >= metric + 256) { if(force || !route || route->metric >= metric + 256) {
send_request_resend(neigh, prefix, plen, send_unicast_multihop_request(neigh, prefix, plen,
src->metric >= INFINITY ? src->metric >= INFINITY ?
src->seqno : seqno_plus(src->seqno, 1), src->seqno :
src->id); seqno_plus(src->seqno, 1),
src->id, 127);
} }
} }
......
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