]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow DNS_RPZ_POLICY_ERROR to be converted to a string
authorMark Andrews <marka@isc.org>
Wed, 4 May 2022 07:03:15 +0000 (17:03 +1000)
committerMark Andrews <marka@isc.org>
Wed, 4 May 2022 13:53:21 +0000 (23:53 +1000)
(cherry picked from commit f498d2db0d9f3344d314956253beda73ac29ea4f)

lib/dns/rpz.c

index f59bffbddc53a1d64be5984ccd35d11de00f5105..428f25ddd1e3dcbd3dec10c2f5f975791a5460ff 100644 (file)
@@ -279,6 +279,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:
                UNREACHABLE();
        }