Commit b00160b0 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo when handling late hellos.

No hello is -1, not 0.
parent c2ea547f
......@@ -174,7 +174,7 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
packets during a link outage. Ignore it, but reset
the expected seqno. */
neigh->hello_seqno = hello;
hello = 0;
hello = -1;
missed_hellos = 0;
}
rc = 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