Commit 630c4ea9 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Send IHUs for new neighbours after sending a request.

parent ed4b8b3f
...@@ -185,10 +185,10 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval) ...@@ -185,10 +185,10 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
} }
if((neigh->reach & 0xFC00) == 0xC000) { if((neigh->reach & 0xFC00) == 0xC000) {
/* This is a newish neighbour. Let's request a full route dump. */ /* This is a newish neighbour, let's request a full route dump.
send_ihu(neigh, NULL); We ought to avoid this when the network is dense */
/* We ought to avoid this when the network is dense */
send_unicast_request(neigh, NULL, 0); send_unicast_request(neigh, NULL, 0);
send_ihu(neigh, NULL);
} }
if(rc) if(rc)
local_notify_neighbour(neigh, LOCAL_CHANGE); local_notify_neighbour(neigh, LOCAL_CHANGE);
......
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