Commit fd28518b authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Flush network buffers before exit.

parent 8d056c34
......@@ -463,8 +463,9 @@ main(int argc, char **argv)
}
usleep(5000 + random() % 10000);
for(i = 0; i < numnets; i++) {
/* They're not listening... */
/* Make sure they got it. */
send_hello(&nets[i]);
flushbuf(&nets[i]);
kernel_setup_interface(0, nets[i].ifname, nets[i].ifindex);
}
kernel_setup(0);
......
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