network: use link_start_dhcp4_server() at one more place

Otherwise, even if the persistent storage is not ready, the DHCP server
may be started e.g. by unplugging and plugging cable.

Follow-up for 5582b36c38.
This commit is contained in:
Yu Watanabe
2024-03-15 02:28:38 +09:00
parent c6d0c6688e
commit c91f8f90ba
3 changed files with 5 additions and 6 deletions
+1
View File
@@ -12,6 +12,7 @@ int network_adjust_dhcp_server(Network *network, Set **addresses);
int link_request_dhcp_server(Link *link);
int link_start_dhcp4_server(Link *link);
void manager_toggle_dhcp4_server_state(Manager *manager, bool start);
CONFIG_PARSER_PROTOTYPE(config_parse_dhcp_server_relay_agent_suboption);