summaryrefslogtreecommitdiff
path: root/server/failover.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2012-03-19 22:29:06 +0000
committerShawn Routhier <sar@isc.org>2012-03-19 22:29:06 +0000
commitd13db163c74d39e628cc920f1b77a1def441f54f (patch)
tree879aa2bd7732c58b06a7bac354639f3cf916d03d /server/failover.c
parentdd9237c309ac816268ec395f0d65a18a38a9aa2a (diff)
downloadisc-dhcp-d13db163c74d39e628cc920f1b77a1def441f54f.tar.gz
Modify the code that determines if an outstanding DDNS request
should be cancelled. This patch results in cancelling the outstanding request less often. It fixes the problem caused by a client doing a release where the txt and ptr records weren't removed from the DNS. [ISC-BUGS #27858]
Diffstat (limited to 'server/failover.c')
-rw-r--r--server/failover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/failover.c b/server/failover.c
index 8d7fe789..45e6b629 100644
--- a/server/failover.c
+++ b/server/failover.c
@@ -5222,7 +5222,7 @@ isc_result_t dhcp_failover_process_bind_update (dhcp_failover_state_t *state,
*/
if (msg->binding_status == FTS_ACTIVE &&
(chaddr_changed || ident_changed)) {
- ddns_removals(lease, NULL, NULL, ISC_FALSE);
+ (void) ddns_removals(lease, NULL, NULL, ISC_FALSE);
if (lease->scope != NULL)
binding_scope_dereference(&lease->scope, MDL);