From 14efd7617b240f025791e428c1172f756318f78e Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 19 Feb 2014 16:34:34 +0100 Subject: networkd: dhcp - log when lease is lost --- src/network/networkd-link.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index aa23bfbc99..37bc5ab594 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -479,6 +479,8 @@ static int dhcp_lease_lost(Link *link) { assert(link); assert(link->dhcp_lease); + log_warning_link(link, "DHCP lease lost"); + r = address_new_dynamic(&address); if (r >= 0) { sd_dhcp_lease_get_address(link->dhcp_lease, &addr); -- cgit v1.2.3-54-g00ecf