Commit a8d30880 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Tighten condition for sending multihop triggered requests.

This slows down convergence a little, but reduces the amount of traffic.
parent 51f4ffc8
......@@ -558,7 +558,7 @@ send_triggered_update(struct route *route, struct source *oldsrc,
send_update(NULL, urgent, route->src->prefix, route->src->plen);
if(oldmetric < INFINITY) {
if(newmetric >= oldmetric + 384) {
if(newmetric >= oldmetric + 512) {
send_request_resend(NULL, route->src->prefix, route->src->plen,
route->src->metric >= INFINITY ?
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