Commit 92b5c602 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Periodically check network status.

parent 4ab13977
......@@ -506,6 +506,7 @@ main(int argc, char **argv)
if(now.tv_sec >= expiry_time) {
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