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)
send_self_retract(&nets[i]);
/* Make sure that we expire quickly from our neighbours'
association caches. */
send_hello_noupdate(&nets[i], 1);
send_hello_noupdate(&nets[i], 15 * numnets);
flushupdates();
flushbuf(&nets[i]);
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