Commit 43a20680 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Be more aggressive about sending multi-hop requests.

parent 01c6a737
...@@ -483,7 +483,7 @@ send_triggered_update(struct route *route, struct source *oldsrc, int oldmetric) ...@@ -483,7 +483,7 @@ send_triggered_update(struct route *route, struct source *oldsrc, int oldmetric)
send_update(NULL, urgent, route->src->prefix, route->src->plen); send_update(NULL, urgent, route->src->prefix, route->src->plen);
if(oldmetric < INFINITY) { if(oldmetric < INFINITY) {
if(newmetric >= INFINITY) if(newmetric >= INFINITY || newmetric >= oldmetric + 512)
send_request_resend(route->src->prefix, route->src->plen, send_request_resend(route->src->prefix, route->src->plen,
route->src->metric >= INFINITY ? route->src->metric >= INFINITY ?
route->src->seqno : route->src->seqno :
......
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