2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

- An assertion in lease counting relating to reserved leases was repaired.

[ISC-Bugs #17130]
This commit is contained in:
David Hankins 2007-10-01 15:12:19 +00:00
parent 5eab8594b6
commit aa3e348e8b
2 changed files with 6 additions and 4 deletions

View File

@ -223,6 +223,8 @@ suggested fixes to <dhcp-users@isc.org>.
identifier was sometimes mishashed to the peer. Load balancing during
runtime and pool rebalancing were opposing.
- An assertion in lease counting relating to reserved leases was repaired.
Changes since 3.1.0rc1
- The parse warning that 'deny dyanmic bootp;' must be configured for

View File

@ -2515,13 +2515,13 @@ void expire_all_pools ()
if (l->binding_state == FTS_FREE) {
if (i == FREE_LEASES)
p->free_leases++;
else
else if (i != RESERVED_LEASES)
log_fatal("Impossible case "
"at %s:%d.", MDL);
} else if (l->binding_state == FTS_BACKUP) {
if (i == BACKUP_LEASES)
p->backup_leases++;
else
else if (i != RESERVED_LEASES)
log_fatal("Impossible case "
"at %s:%d.", MDL);
}