Skip to content
Snippets Groups Projects
Commit 8a28ab11 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed crash after wrongly adjusted UPDATE.

parent 34f11c20
No related branches found
No related tags found
No related merge requests found
......@@ -3402,7 +3402,7 @@ int xfrin_switch_zone(knot_zone_t *zone,
old, (old) ? old->apex : NULL, new_contents->apex);
// switch pointers in domain names, now only the new zone is used
if (transfer_type == XFR_TYPE_IIN) {
if (transfer_type == XFR_TYPE_IIN || transfer_type == XFR_TYPE_UPDATE) {
// Traverse also the dname table and change the node pointers
// in dnames
int ret = knot_zone_contents_dname_table_apply(
......
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