From 36612dadff74e57139fe176729fa284b149b420f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 4 May 2022 17:03:15 +1000 Subject: [PATCH] Allow DNS_RPZ_POLICY_ERROR to be converted to a string (cherry picked from commit f498d2db0d9f3344d314956253beda73ac29ea4f) Conflict: adapt INSIST(0), ISC_UNREACHABLE Reference: https://gitlab.isc.org/isc-projects/bind9/-/commit/36612dadff74e57139fe176729fa284b149b420f --- lib/dns/rpz.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/dns/rpz.c b/lib/dns/rpz.c index d3baa71..1bdaac9 100644 --- a/lib/dns/rpz.c +++ b/lib/dns/rpz.c @@ -277,6 +277,9 @@ dns_rpz_policy2str(dns_rpz_policy_t policy) { case DNS_RPZ_POLICY_DNS64: str = "DNS64"; break; + case DNS_RPZ_POLICY_ERROR: + str = "ERROR"; + break; default: INSIST(0); ISC_UNREACHABLE(); -- 2.27.0