- Fix #4091: Fix that reload of auth-zone does not merge the zonefile

with the previous contents.


git-svn-id: file:///svn/unbound/trunk@4641 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2018-04-20 14:15:34 +00:00
parent 5bee11a6d3
commit 7ff459af13
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -1,6 +1,8 @@
20 April 2018: Wouter
- man page documentation for dns-over-tls forward-addr '#' notation.
- removed free from failed parse case.
- Fix #4091: Fix that reload of auth-zone does not merge the zonefile
with the previous contents.
19 April 2018: Wouter
- Can set tls authentication with forward-addr: IP#tls.auth.name
+5
View File
@@ -1560,6 +1560,11 @@ auth_zone_read_zonefile(struct auth_zone* z)
free(n);
return 0;
}
/* clear the data tree */
traverse_postorder(&z->data, auth_data_del, NULL);
rbtree_init(&z->data, &auth_data_cmp);
memset(&state, 0, sizeof(state));
/* default TTL to 3600 */
state.default_ttl = 3600;