Commit c76ff647 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Check networks before expiring routes.

parent 2a5670f7
......@@ -506,9 +506,9 @@ main(int argc, char **argv)
}
if(now.tv_sec >= expiry_time) {
check_networks();
expire_routes();
expire_requests();
check_networks();
expiry_time = now.tv_sec + 20 + random() % 20;
}
......
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