Commit 47d0ddc8 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Reset the per-interface activity timer when upping a network.

parent ae6aeae4
......@@ -299,6 +299,7 @@ network_up(struct network *net, int up)
NET_CONF(net, hello_interval) * 4 :
wireless_hello_interval * 4;
}
net->activity_time = now.tv_sec;
update_hello_interval(net);
memset(&mreq, 0, sizeof(mreq));
......
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