Commit c81e7e45 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't check channels and IPv4 addresses of downed interfaces.

parent 74c1ff37
......@@ -450,12 +450,14 @@ check_interfaces(void)
interface_up(ifp, rc > 0);
}
check_interface_channel(ifp);
rc = check_interface_ipv4(ifp);
if(rc > 0) {
send_request(ifp, NULL, 0);
send_update(ifp, 0, NULL, 0);
}
if(if_up(ifp)) {
check_interface_channel(ifp);
rc = check_interface_ipv4(ifp);
if(rc > 0) {
send_request(ifp, NULL, 0);
send_update(ifp, 0, NULL, 0);
}
}
}
if(ifindex_changed)
......
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