projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4115959
)
sd-dhcp: remove unreachable route after rebinding return NAK
author
Li Song
<song.li@honeywell.com>
Fri, 19 Oct 2018 17:41:51 +0000
(13:41 -0400)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 19 Oct 2018 20:59:20 +0000
(22:59 +0200)
src/libsystemd-network/sd-dhcp-client.c
patch
|
blob
|
history
diff --git
a/src/libsystemd-network/sd-dhcp-client.c
b/src/libsystemd-network/sd-dhcp-client.c
index
e39da04
..
dde2d0c
100644
(file)
--- 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;