Skip to content

Commit 3c2052f

Browse files
committed
libknot 3.4 compat
This extends the new 5.x commit 673c8d2. Now I can build fine against knot-dns master again.
1 parent 853ddb4 commit 3c2052f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/zonefile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ static bool owner_relativize(zs_scanner_t *s)
153153
}
154154
return false;
155155
}
156-
const int len = knot_dname_prefixlen(s->r_owner, labels, NULL);
156+
const int len = kr_dname_prefixlen(s->r_owner, labels);
157157
s->r_owner[len] = '\0'; // not very nice but safe at this point
158158
return true;
159159
}

0 commit comments

Comments
 (0)