Commit c98f3b55 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove last use of numnets.

parent 4c1e678a
...@@ -722,11 +722,10 @@ main(int argc, char **argv) ...@@ -722,11 +722,10 @@ main(int argc, char **argv)
if(!net->up) if(!net->up)
continue; continue;
/* Make sure that we expire quickly from our neighbours' /* Make sure that we expire quickly from our neighbours'
association caches. Since we sleep on average 10ms per association caches. */
network, set the hello interval to numnets centiseconds. */ send_hello_noupdate(net, 10);
send_hello_noupdate(net, numnets);
flushbuf(net); flushbuf(net);
usleep(5000 + random() % 10000); usleep(500 + random() % 1000);
gettimeofday(&now, NULL); gettimeofday(&now, NULL);
} }
FOR_ALL_NETS(net) { FOR_ALL_NETS(net) {
......
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