summaryrefslogtreecommitdiff
path: root/src/libknot/nameserver/name-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libknot/nameserver/name-server.c')
-rw-r--r--src/libknot/nameserver/name-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libknot/nameserver/name-server.c b/src/libknot/nameserver/name-server.c
index ee956e7..db42d9a 100644
--- a/src/libknot/nameserver/name-server.c
+++ b/src/libknot/nameserver/name-server.c
@@ -2180,7 +2180,7 @@ dbg_ns_exec_verb(
dbg_ns_verb(" and previous node: (nil).\n");
}
);
- if (find_ret == KNOT_EBADZONE) {
+ if (find_ret == KNOT_EOUTOFZONE) {
// possible only if we followed CNAME or DNAME
assert(cname != 0);
knot_response_set_rcode(resp, KNOT_RCODE_NOERROR);