Skip to content
Snippets Groups Projects
Commit fb4feab0 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Storing ANY queries policy in zone contents.

refs #1384
parent 1263279c
No related branches found
No related tags found
No related merge requests found
......@@ -1507,6 +1507,15 @@ static int zones_insert_zone(conf_zone_t *z, knot_zone_t **dst,
dbg_zones("zone: journal sync of '%s' "
"set to %d\n", z->name, sync_tmr);
}
/* Update ANY queries policy */
if (zd->conf->disable_any) {
knot_zone_contents_t *contents =
knot_zone_get_contents(zone);
if (contents) {
knot_zone_contents_disable_any(contents);
}
}
}
/* CLEANUP */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment