From: Roy Marples Date: Wed, 1 Jun 2016 05:44:47 +0000 (+0000) Subject: Add lastlease informational message. X-Git-Tag: v6.11.1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4252dbe59241c04c4a76df38260215e065f03473;p=thirdparty%2Fdhcpcd.git Add lastlease informational message. --- 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)