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

Ignoring removal from non-existing node in DDNS.

fixes #2361 @30m
parent a4f483fc
No related branches found
No related tags found
No related merge requests found
......@@ -2206,6 +2206,9 @@ static int knot_ddns_process_rr(const knot_rrset_t *rr,
if (knot_rrset_class(rr) == knot_zone_contents_class(zone)) {
return knot_ddns_process_add(rr, node, zone, changeset,
changes, rr_copy);
} else if (node == NULL) {
// Removing from non-existing node, just ignore the entry
return KNOT_EOK;
} else if (knot_rrset_class(rr) == KNOT_CLASS_NONE) {
return knot_ddns_process_rem_rr(rr, node, zone, changeset,
changes, qclass);
......
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