sd-dhcp-client: add missing assertion
This commit is contained in:
@@ -1490,6 +1490,8 @@ static int client_start_delayed(sd_dhcp_client *client) {
|
||||
}
|
||||
|
||||
static int client_start(sd_dhcp_client *client) {
|
||||
assert(client);
|
||||
|
||||
client->start_delay = 0;
|
||||
return client_start_delayed(client);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user