Commit 4064bb60 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Send a more accurate hello_interval when leaving the network.

parent 2bc566f2
...@@ -541,7 +541,7 @@ main(int argc, char **argv) ...@@ -541,7 +541,7 @@ main(int argc, char **argv)
send_self_retract(&nets[i]); send_self_retract(&nets[i]);
/* Make sure that we expire quickly from our neighbours' /* Make sure that we expire quickly from our neighbours'
association caches. */ association caches. */
send_hello_noupdate(&nets[i], 1); send_hello_noupdate(&nets[i], 15 * numnets);
flushupdates(); flushupdates();
flushbuf(&nets[i]); flushbuf(&nets[i]);
usleep(50000 + random() % 100000); usleep(50000 + random() % 100000);
......
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