Commit ac44c0ae authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Update time during initial noise.

parent d3be24c7
...@@ -374,6 +374,7 @@ main(int argc, char **argv) ...@@ -374,6 +374,7 @@ main(int argc, char **argv)
for(i = 0; i < numnets; i++) { for(i = 0; i < numnets; i++) {
usleep(50000 + random() % 100000); usleep(50000 + random() % 100000);
flushbuf(&nets[i]); flushbuf(&nets[i]);
gettimeofday(&now, NULL);
send_hello(&nets[i]); send_hello(&nets[i]);
send_self_update(&nets[i], 0); send_self_update(&nets[i], 0);
send_request(&nets[i], NULL, 0, -1); send_request(&nets[i], NULL, 0, -1);
......
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