From: =?utf-8?b?VmxhZGltw61yIMSMdW7DoXQ=?= Date: Mon, 12 Feb 2024 11:30:50 +0100 Subject: validator: compatibility with older libknot versions The value is in IANA registry, so it's very constant anyway. --- lib/layer/validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/layer/validate.c b/lib/layer/validate.c index 95a7624..6c0d7ad 100644 --- a/lib/layer/validate.c +++ b/lib/layer/validate.c @@ -1130,7 +1130,7 @@ static int validate(kr_layer_t *ctx, knot_pkt_t *pkt) count += (knot_pkt_rr(sec, i)->type == KNOT_RRTYPE_NSEC3); if (count > 8) { VERBOSE_MSG(qry, "<= too many NSEC3 records in AUTHORITY (%d)\n", count); - kr_request_set_extended_error(req, KNOT_EDNS_EDE_NSEC3_ITERS, + kr_request_set_extended_error(req, 27/*KNOT_EDNS_EDE_NSEC3_ITERS*/, /* It's not about iteration values per se, but close enough. */ "DYRH: too many NSEC3 records"); qry->flags.DNSSEC_BOGUS = true;