Skip to content

Commit

Permalink
Schedule an interface check after adding an interface.
Browse files Browse the repository at this point in the history
Thanks to andrew-hoff.
  • Loading branch information
jech committed May 16, 2022
1 parent f13602b commit 3d8aec4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ add_interface(char *ifname, struct interface_conf *if_conf)
last_interface()->next = ifp;

local_notify_interface(ifp, LOCAL_ADD);
schedule_interfaces_check(200, 0);

return ifp;
}
Expand Down

0 comments on commit 3d8aec4

Please sign in to comment.