Commit c81e7e45 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

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

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