Commit 48bacd83 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove first noisy loop.

This now happens in network_up.
parent 400dc572
......@@ -357,16 +357,6 @@ main(int argc, char **argv)
expiry_time = now.tv_sec + 20 + random() % 20;
/* Make some noise so that others notice us */
for(i = 0; i < numnets; i++) {
if(!nets[i].up)
continue;
gettimeofday(&now, NULL);
send_hello(&nets[i]);
send_request(&nets[i], NULL, 0, 0, 0, 0);
flushbuf(&nets[i]);
usleep(50000 + random() % 100000);
}
for(i = 0; i < numnets; i++) {
if(!nets[i].up)
continue;
......
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