zone_needdump() could potentially not call zone_settimer() so
explitly call zone_settimer() as zone->resigntime could have
gone backward.
(cherry picked from commit
5ec57f31b0cca77f2629bac888c323cd619979ee)
}
/* XXXMPA make separate call back */
- if (result == ISC_R_SUCCESS)
+ if (result == ISC_R_SUCCESS) {
set_resigntime(zone);
+ if (zone->task != NULL) {
+ isc_time_t now;
+ TIME_NOW(&now);
+ zone_settimer(zone, &now);
+ }
+ }
}
if (secure != NULL)
UNLOCK_ZONE(secure);