mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
sd-dhcp: remove unreachable route after rebinding return NAK
This commit is contained in:
parent
41159592f8
commit
cc3981b127
@ -1683,6 +1683,8 @@ static int client_handle_message(sd_dhcp_client *client, DHCPMessage *message, i
|
|||||||
client->timeout_resend =
|
client->timeout_resend =
|
||||||
sd_event_source_unref(client->timeout_resend);
|
sd_event_source_unref(client->timeout_resend);
|
||||||
|
|
||||||
|
client_notify(client, SD_DHCP_CLIENT_EVENT_EXPIRED);
|
||||||
|
|
||||||
r = client_initialize(client);
|
r = client_initialize(client);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
Reference in New Issue
Block a user