summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2024-02-06 08:55:25 +0100
committerVladimír Čunát <vladimir.cunat@nic.cz>2024-02-06 12:42:14 +0100
commit3c2052f893dcace799f6a464a6ec300a2364bf28 (patch)
tree6c8ad08e007f5ad14b751b7f2c42997ae71b76da /lib
parentMerge branch 'master' into 6.0 (diff)
downloadknot-resolver-3c2052f893dcace799f6a464a6ec300a2364bf28.tar.xz
knot-resolver-3c2052f893dcace799f6a464a6ec300a2364bf28.zip
libknot 3.4 compat
This extends the new 5.x commit 673c8d2b56b6. Now I can build fine against knot-dns master again.
Diffstat (limited to 'lib')
-rw-r--r--lib/rules/zonefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rules/zonefile.c b/lib/rules/zonefile.c
index d29ae35e..b5cc4a64 100644
--- a/lib/rules/zonefile.c
+++ b/lib/rules/zonefile.c
@@ -153,7 +153,7 @@ static bool owner_relativize(zs_scanner_t *s)
}
return false;
}
- const int len = knot_dname_prefixlen(s->r_owner, labels, NULL);
+ const int len = kr_dname_prefixlen(s->r_owner, labels);
s->r_owner[len] = '\0'; // not very nice but safe at this point
return true;
}