summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-06-01 05:44:47 +0000
committerRoy Marples <roy@marples.name>2016-06-01 05:44:47 +0000
commit4252dbe59241c04c4a76df38260215e065f03473 (patch)
tree3a8828cc02b3d0aabdef04ecba2ea8a21d7fcaa3
parent77f0b46ed38e2dca5f663de2e3cb230d33ebaffb (diff)
downloaddhcpcd-4252dbe59241c04c4a76df38260215e065f03473.tar.xz
Add lastlease informational message.
-rw-r--r--dhcp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dhcp.c b/dhcp.c
index f0057fb9..0fa35d7f 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -2246,6 +2246,9 @@ dhcp_lastlease(void *arg)
struct interface *ifp = arg;
struct dhcp_state *state = D_STATE(ifp);
+ logger(ifp->ctx, LOG_INFO,
+ "%s: timed out contacting a DHCP server, using last lease",
+ ifp->name);
dhcp_bind(ifp);
/* If we forked, stop here. */
if (ifp->ctx->options & DHCPCD_FORKED)