Commit aa07a19c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't send updates when a retracted route is lost.

parent 0144848a
......@@ -620,10 +620,9 @@ route_lost(struct source *src, int oldmetric)
new_route = find_best_route(src->prefix, src->plen, 1, NULL);
if(new_route) {
consider_route(new_route);
} else {
} else if(oldmetric < INFINITY) {
/* Complain loudly. */
send_update_resend(NULL, src->prefix, src->plen);
if(oldmetric < INFINITY)
send_request_resend(NULL, src->prefix, src->plen,
src->metric >= INFINITY ?
src->seqno : seqno_plus(src->seqno, 1),
......
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