2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

Fix the code that checks for an existing DDNS transaction to cancel

when removing DDNS information, so that we will continue with the
processing if we have a lease even if it doesn't have an outstanding
transaction.  [ISC-Bugs #24682]
This commit is contained in:
Shawn Routhier 2011-08-22 20:39:19 +00:00
parent 8bd96ccb21
commit d208bb0431
2 changed files with 8 additions and 2 deletions

View File

@ -39,6 +39,13 @@ The system has only been tested on Linux, FreeBSD, and Solaris, and may not
work on other platforms. Please report any problems and suggested fixes to work on other platforms. Please report any problems and suggested fixes to
<dhcp-users@isc.org>. <dhcp-users@isc.org>.
Changes since 4.2.2
- Fix the code that checks for an existing DDNS transaction to cancel
when removing DDNS information, so that we will continue with the
processing if we have a lease even if it doesn't have an outstanding
transaction. [ISC-Bugs #24682]
Changes since 4.2.1 Changes since 4.2.1
! In dhclient check the data for some string options for ! In dhclient check the data for some string options for

View File

@ -1592,8 +1592,7 @@ ddns_removals(struct lease *lease,
} else if ((lease6 != NULL) && (lease6->ddns_cb != NULL)) { } else if ((lease6 != NULL) && (lease6->ddns_cb != NULL)) {
ddns_cancel(lease6->ddns_cb); ddns_cancel(lease6->ddns_cb);
lease6->ddns_cb = NULL; lease6->ddns_cb = NULL;
} else }
goto cleanup;
/* allocate our control block */ /* allocate our control block */
ddns_cb = ddns_cb_alloc(MDL); ddns_cb = ddns_cb_alloc(MDL);