summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-17 21:23:20 +0200
committerTom Gundersen <teg@jklm.no>2014-07-28 10:44:51 +0200
commit2d2349cc3ed43153344807892332c9fa626c8d8a (patch)
treed76e1a7a84e5d540aa1f3095ca5d3d07fee236f3 /src/network/networkd-link.c
parent9fbc25232c123aac886b5327418b7254a48ea3dc (diff)
sd-dhcp-client: drop event DHCP_EVENT_NO_LEASE
Keep this internal to the client and simply restart it when NAK is receieved, as per the RFC.
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index c346df45a9..ac9f4737ef 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1172,9 +1172,6 @@ static void dhcp_handler(sd_dhcp_client *client, int event, void *userdata) {
return;
switch (event) {
- case DHCP_EVENT_NO_LEASE:
- log_debug_link(link, "IP address in use.");
- break;
case DHCP_EVENT_EXPIRED:
case DHCP_EVENT_STOP:
case DHCP_EVENT_IP_CHANGE: