Commit a80f7d17 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Broadcast request when losing a route.

parent 49a9c3a0
...@@ -435,8 +435,7 @@ send_triggered_update(struct route *route, int oldmetric) ...@@ -435,8 +435,7 @@ send_triggered_update(struct route *route, int oldmetric)
if(oldmetric < INFINITY) { if(oldmetric < INFINITY) {
if(route->metric >= INFINITY) { if(route->metric >= INFINITY) {
/* We just lost a route, request a new seqno from the source */ /* We just lost a route, request a new seqno from the source */
send_unicast_request(route->nexthop, route->dest, send_request(NULL, route->dest, max_hopcount, -1);
max_hopcount, -1);
} else if(route->metric - oldmetric >= 384) { } else if(route->metric - oldmetric >= 384) {
/* This route's metric has increased a lot -- let's hope we find /* This route's metric has increased a lot -- let's hope we find
something better */ something better */
......
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