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 -1
View File
@@ -144,7 +144,7 @@ int network_adjust_dhcp_server(Network *network, Set **addresses) {
return 0;
}
static int link_start_dhcp4_server(Link *link) {
int link_start_dhcp4_server(Link *link) {
int r;
assert(link);