2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 09:57:20 +00:00

Fix release of empty IPv6 active lease

This commit is contained in:
Francis Dupont 2007-12-30 18:49:56 +00:00
parent 7b22a9b4ab
commit 96b620e5a2
2 changed files with 4 additions and 1 deletions

View File

@ -86,6 +86,9 @@ suggested fixes to <dhcp-users@isc.org>.
- NoAddrsAvail answers to SOLICITs are always ADVERTISEs even when a SOLICIT - NoAddrsAvail answers to SOLICITs are always ADVERTISEs even when a SOLICIT
carries a rapid-commit option. carries a rapid-commit option.
- Return in place of raise an impossible condition when one tries to release
an empty active lease.
Changes since 4.0.0b3 Changes since 4.0.0b3
- The reverse dns name for PTR updates on IPv6 addresses has been fixed to - The reverse dns name for PTR updates on IPv6 addresses has been fixed to

View File

@ -1247,7 +1247,7 @@ do_release6(void *input)
client = input; client = input;
if (client->active_lease == NULL) if (client->active_lease == NULL)
log_fatal("Impossible condition at %s:%d.", MDL); return;
if ((client->MRC != 0) && (client->txcount > client->MRC)) { if ((client->MRC != 0) && (client->txcount > client->MRC)) {
log_info("Max retransmission count exceeded."); log_info("Max retransmission count exceeded.");