Commit afd85bc0 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Ensure link quality is recomputed after a neighbours loses its hello seqno.

parent bd9c3087
...@@ -141,6 +141,7 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval) ...@@ -141,6 +141,7 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
Reboot the universe. */ Reboot the universe. */
neigh->reach = 0; neigh->reach = 0;
missed_hellos = 0; missed_hellos = 0;
rc = 1;
} else if(missed_hellos < 0) { } else if(missed_hellos < 0) {
if(hello_interval > neigh->hello_interval) { if(hello_interval > neigh->hello_interval) {
/* This neighbour has increased its hello interval, /* This neighbour has increased its hello interval,
......
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