From: Li Song Date: Fri, 19 Oct 2018 17:41:51 +0000 (-0400) Subject: sd-dhcp: remove unreachable route after rebinding return NAK X-Git-Tag: v240~502 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc3981b1272b9ce37e7d734a7b2f42e84acac535;p=platform%2Fupstream%2Fsystemd.git sd-dhcp: remove unreachable route after rebinding return NAK --- diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c index e39da04..dde2d0c 100644 --- a/src/libsystemd-network/sd-dhcp-client.c +++ b/src/libsystemd-network/sd-dhcp-client.c @@ -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;