]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
libknot 3.4 compat docs-develop-6-0-mvwoqi/deployments/3167 docs-develop-mana-huiulj/deployments/3205
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 6 Feb 2024 07:55:25 +0000 (08:55 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 6 Feb 2024 11:42:14 +0000 (12:42 +0100)
This extends the new 5.x commit 673c8d2b56b6.
Now I can build fine against knot-dns master again.

lib/rules/zonefile.c

index d29ae35e2bbda263ee63edba28fd11a02a138fa4..b5cc4a646f7a519b317bcc0171053436cbc6e591 100644 (file)
@@ -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;
 }