]> 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:30:32 +0000 (23:30 +1000)
lib/dns/rpz.c

index 0e6cb31be83efd877f99bb87990989aee77981ae..4cdb2eb1ce36e814b3b1da0bb826a30e673d9e67 100644 (file)
@@ -267,6 +267,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();
        }