Commit 3d533727 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Take unicast Hellos into account when scheduling neighbours check.

parent 171124d4
...@@ -248,6 +248,8 @@ check_neighbours() ...@@ -248,6 +248,8 @@ check_neighbours()
if(neigh->hello.interval > 0) if(neigh->hello.interval > 0)
msecs = MIN(msecs, neigh->hello.interval * 10); msecs = MIN(msecs, neigh->hello.interval * 10);
if(neigh->uhello.interval > 0)
msecs = MIN(msecs, neigh->uhello.interval * 10);
if(neigh->ihu_interval > 0) if(neigh->ihu_interval > 0)
msecs = MIN(msecs, neigh->ihu_interval * 10); msecs = MIN(msecs, neigh->ihu_interval * 10);
neigh = neigh->next; neigh = neigh->next;
......
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