diff options
author | Shawn Routhier <sar@isc.org> | 2011-08-22 20:39:19 +0000 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2011-08-22 20:39:19 +0000 |
commit | d208bb043169878b6475c13d42e6067518aba739 (patch) | |
tree | 6eda0c4baf48c24f59a6b85b864c62ddd03f86c9 /server/ddns.c | |
parent | 8bd96ccb219b548be4f9cd639a113a2e949cea99 (diff) | |
download | isc-dhcp-d208bb043169878b6475c13d42e6067518aba739.tar.gz |
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]
Diffstat (limited to 'server/ddns.c')
-rw-r--r-- | server/ddns.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/ddns.c b/server/ddns.c index 99c08714..4149494e 100644 --- a/server/ddns.c +++ b/server/ddns.c @@ -1592,8 +1592,7 @@ ddns_removals(struct lease *lease, } else if ((lease6 != NULL) && (lease6->ddns_cb != NULL)) { ddns_cancel(lease6->ddns_cb); lease6->ddns_cb = NULL; - } else - goto cleanup; + } /* allocate our control block */ ddns_cb = ddns_cb_alloc(MDL); |