mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
timerDB dump: skip not yet started zones
This commit is contained in:
parent
5c9edbdf22
commit
6481b54a37
1 changed files with 4 additions and 2 deletions
|
|
@ -208,8 +208,10 @@ int zone_timers_write(knot_lmdb_db_t *db, const knot_dname_t *zone,
|
|||
|
||||
static void txn_zone_write(zone_t *z, knot_lmdb_txn_t *txn)
|
||||
{
|
||||
zone_timers_t *t = z->timers_static;
|
||||
txn_write_timers(txn, z->name, t);
|
||||
if (z->started) {
|
||||
zone_timers_t *t = z->timers_static;
|
||||
txn_write_timers(txn, z->name, t);
|
||||
}
|
||||
}
|
||||
|
||||
int zone_timers_write_all(knot_lmdb_db_t *db, knot_zonedb_t *zonedb)
|
||||
|
|
|
|||
Loading…
Reference in a new issue