]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[master] Added lease address to reuse lease log message
authorThomas Markwalder <tmark@isc.org>
Fri, 25 Sep 2015 14:04:50 +0000 (10:04 -0400)
committerThomas Markwalder <tmark@isc.org>
Fri, 25 Sep 2015 14:04:50 +0000 (10:04 -0400)
    Merged in rt40598.

RELNOTES
server/dhcp.c

index fb0ba6610c0650cacdeaba427df0fd187d85958e..e50922d0fd99c8ce2d00838464cfe331afd91929 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -54,8 +54,12 @@ by Eric Young (eay@cryptsoft.com).
 
                        Changes since 4.3.3
 
+- Added the lease address to the end of the debug level log message
+  emitted when an existing lease is renewed within the dhcp-cache-threshold.
+  [ISC-Bugs #40598]
+
 - Corrected compilation errors that prohibited building the server
-  and its ATF unit tests when failover disabled.
+  and its ATF unit tests when failover is disabled.
   [ISC-Bugs #40372]
 
 - Fixed several potential null references.  Thanks to Bill Parker
index 7ebcfeb155ee431a4403d515ba33b9b83b087f19..5969895cfa6e638dc490ec5ddfb0166e7505729d 100644 (file)
@@ -5259,8 +5259,8 @@ reuse_lease (struct packet* packet,
                                /* We're cleared to reuse it */
                                log_debug("reuse_lease: lease age %ld (secs)"
                                          " under %d%% threshold, reply with "
-                                         "unaltered, existing lease",
-                                         lease_age, thresh);
+                                         "unaltered, existing lease for %s",
+                                         lease_age, thresh, piaddr(lease->ip_addr));
 
                                reusable = 1;
                        }