Commit 3763fd00 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Take kernel_dump_time into account when deciding how long to sleep.

parent c81fcd6c
...@@ -533,6 +533,7 @@ main(int argc, char **argv) ...@@ -533,6 +533,7 @@ main(int argc, char **argv)
tv = check_neighbours_time; tv = check_neighbours_time;
timeval_min_sec(&tv, expiry_time); timeval_min_sec(&tv, expiry_time);
timeval_min_sec(&tv, kernel_dump_time);
timeval_min(&tv, &request_resend_time); timeval_min(&tv, &request_resend_time);
for(i = 0; i < numnets; i++) { for(i = 0; i < numnets; i++) {
if(!nets[i].up) if(!nets[i].up)
......
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