Commit 68851ddb authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch '965-delv-prints-weird-ttl-values' into 'master'

Initialise view->mincachettl and view->minncachettl to zero in dns_view_create.

Closes #965

See merge request !1760
parents 0fb2cf1e 538da8c8
Pipeline #13239 passed with stages
in 1 minute and 2 seconds
5206. [bug] Delv could print out bad TTLs. [GL #965]
5205. [bug] Enforce that a DS hash exists. [GL #899]
 
5204. [test] Check that dns_rdata_fromtext() produces a record that
......
......@@ -206,6 +206,8 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
view->provideixfr = true;
view->maxcachettl = 7 * 24 * 3600;
view->maxncachettl = 3 * 3600;
view->mincachettl = 0;
view->minncachettl = 0;
view->nta_lifetime = 0;
view->nta_recheck = 0;
view->prefetch_eligible = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment