summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-19 16:34:34 +0100
committerTom Gundersen <teg@jklm.no>2014-02-19 16:46:58 +0100
commit14efd7617b240f025791e428c1172f756318f78e (patch)
tree36589d6e669bc1ad79b9d55c3013a38bf34a9ec6
parent216816c6bcabd70342593637a55300749a567f5c (diff)
networkd: dhcp - log when lease is lost
-rw-r--r--src/network/networkd-link.c2
1 files changed, 2 insertions, 0 deletions
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);