From: Roy Marples Date: Tue, 16 Feb 2016 09:53:12 +0000 (+0000) Subject: We need to log expiry time for the lease as each address has it's own notion. X-Git-Tag: v6.10.2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=289562ab9452ca26d7da2053e1e8b47141823a5e;p=thirdparty%2Fdhcpcd.git We need to log expiry time for the lease as each address has it's own notion. --- diff --git a/dhcp6.c b/dhcp6.c index 08b81d03..67590e09 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -3039,9 +3039,11 @@ recv: ifp->name, state->renew); else if (state->renew || state->rebind) logger(ifp->ctx, has_new ? LOG_INFO : LOG_DEBUG, - "%s: renew in %"PRIu32" seconds," - " rebind in %"PRIu32" seconds", - ifp->name, state->renew, state->rebind); + "%s: renew in %"PRIu32", " + "rebind in %"PRIu32", " + "expire in %"PRIu32" seconds", + ifp->name, + state->renew, state->rebind, state->expire); else if (state->expire == 0) logger(ifp->ctx, has_new ? LOG_INFO : LOG_DEBUG, "%s: will expire", ifp->name);