Commit d6180263 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't send a Hello upon encountering a new neighbour.

As pointed out by Toke Boot, this causes huge bursts of Hellos when we
encounter many new neighbours at a time.
parent ad9b4477
...@@ -117,7 +117,6 @@ find_neighbour(const unsigned char *address, struct interface *ifp) ...@@ -117,7 +117,6 @@ find_neighbour(const unsigned char *address, struct interface *ifp)
neigh->next = neighs; neigh->next = neighs;
neighs = neigh; neighs = neigh;
local_notify_neighbour(neigh, LOCAL_ADD); local_notify_neighbour(neigh, LOCAL_ADD);
send_hello(ifp);
return neigh; return neigh;
} }
......
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