]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix release of empty IPv6 active lease
authorFrancis Dupont <fdupont@isc.org>
Sun, 30 Dec 2007 18:49:56 +0000 (18:49 +0000)
committerFrancis Dupont <fdupont@isc.org>
Sun, 30 Dec 2007 18:49:56 +0000 (18:49 +0000)
RELNOTES
client/dhc6.c

index 1a0ea8da07d07383faecdf22108d40a4f452e705..0efba5efc3c967d229b6bd534c08be4d1282c049 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -86,6 +86,9 @@ suggested fixes to <dhcp-users@isc.org>.
 - NoAddrsAvail answers to SOLICITs are always ADVERTISEs even when a SOLICIT
   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
 
 - The reverse dns name for PTR updates on IPv6 addresses has been fixed to
index 964aca828a3baecdec1cd76850330b69cc99ff17..8bf89b0989c20592fb66a3563abf15a7d13f1157 100644 (file)
@@ -1247,7 +1247,7 @@ do_release6(void *input)
        client = input;
 
        if (client->active_lease == NULL)
-               log_fatal("Impossible condition at %s:%d.", MDL);
+               return;
 
        if ((client->MRC != 0) && (client->txcount > client->MRC))  {
                log_info("Max retransmission count exceeded.");