2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

[master] Log v6 shared network lease counts, when none available for a DUID

Merges in rt26376
This commit is contained in:
Thomas Markwalder
2015-01-08 09:44:51 -05:00
parent 8c7a7600b5
commit fb98e02e12
7 changed files with 286 additions and 48 deletions

View File

@@ -3,7 +3,7 @@
DHCP Server Daemon. */
/*
* Copyright (c) 2004-2014 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004-2015 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
@@ -617,6 +617,11 @@ main(int argc, char **argv) {
if (set_chroot) setup_chroot (set_chroot);
#endif /* PARANOIA && !EARLY_CHROOT */
#ifdef DHCPv6
/* log info about ipv6_ponds with large address ranges */
report_jumbo_ranges();
#endif
/* test option should cause an early exit */
if (cftest && !lftest)
exit(0);
@@ -677,7 +682,6 @@ main(int argc, char **argv) {
}
#endif /* DHCPv6 */
/* Make up a seed for the random number generator from current
time plus the sum of the last four bytes of each
interface's hardware address interpreted as an integer.