1
0
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:
Li Song 2018-10-19 13:41:51 -04:00 committed by Lennart Poettering
parent 41159592f8
commit cc3981b127

View File

@ -1683,6 +1683,8 @@ static int client_handle_message(sd_dhcp_client *client, DHCPMessage *message, i
client->timeout_resend =
sd_event_source_unref(client->timeout_resend);
client_notify(client, SD_DHCP_CLIENT_EVENT_EXPIRED);
r = client_initialize(client);
if (r < 0)
goto error;