]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
DS push: bugfix: cleanup timers after successful push
authorLibor Peltan <libor.peltan@nic.cz>
Thu, 16 Jul 2020 19:58:01 +0000 (21:58 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Fri, 17 Jul 2020 08:12:52 +0000 (10:12 +0200)
src/knot/events/handlers/ds_push.c

index f30c142f3d7e85c8cf178fcb255aee592c86fdf6..6bcaa92ef4733a268f74113eea439a06a2f4d838 100644 (file)
@@ -243,6 +243,7 @@ int event_ds_push(conf_t *conf, zone_t *zone)
                        conf_remote_t parent = conf_remote(conf, &ds_push, i);
                        ret = send_ds_push(conf, zone, &parent, timeout);
                        if (ret == KNOT_EOK) {
+                               zone->timers.next_ds_push = 0;
                                break;
                        }
                }