2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 18:07:25 +00:00

[master] Added lease address to reuse lease log message

Merged in rt40598.
This commit is contained in:
Thomas Markwalder 2015-09-25 10:04:50 -04:00
parent 5cc6f201cb
commit 20931f53c7
2 changed files with 7 additions and 3 deletions

View File

@ -54,8 +54,12 @@ by Eric Young (eay@cryptsoft.com).
Changes since 4.3.3 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 - 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] [ISC-Bugs #40372]
- Fixed several potential null references. Thanks to Bill Parker - Fixed several potential null references. Thanks to Bill Parker

View File

@ -5259,8 +5259,8 @@ reuse_lease (struct packet* packet,
/* We're cleared to reuse it */ /* We're cleared to reuse it */
log_debug("reuse_lease: lease age %ld (secs)" log_debug("reuse_lease: lease age %ld (secs)"
" under %d%% threshold, reply with " " under %d%% threshold, reply with "
"unaltered, existing lease", "unaltered, existing lease for %s",
lease_age, thresh); lease_age, thresh, piaddr(lease->ip_addr));
reusable = 1; reusable = 1;
} }