]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We need to log expiry time for the lease as each address has it's own notion.
authorRoy Marples <roy@marples.name>
Tue, 16 Feb 2016 09:53:12 +0000 (09:53 +0000)
committerRoy Marples <roy@marples.name>
Tue, 16 Feb 2016 09:53:12 +0000 (09:53 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 08b81d037b98e071f2dd8d3d4802efb5100b393b..67590e0908c5eebe7cd221d167051cb4829ce6ce 100644 (file)
--- 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);