Commit 3d8aec43 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Schedule an interface check after adding an interface.

Thanks to andrew-hoff.
parent f13602b4
...@@ -92,6 +92,7 @@ add_interface(char *ifname, struct interface_conf *if_conf) ...@@ -92,6 +92,7 @@ add_interface(char *ifname, struct interface_conf *if_conf)
last_interface()->next = ifp; last_interface()->next = ifp;
local_notify_interface(ifp, LOCAL_ADD); local_notify_interface(ifp, LOCAL_ADD);
schedule_interfaces_check(200, 0);
return ifp; return ifp;
} }
......
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