From 4252dbe59241c04c4a76df38260215e065f03473 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 1 Jun 2016 05:44:47 +0000 Subject: [PATCH] Add lastlease informational message. --- dhcp.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.47.3