]> 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:52:29 +0000 (23:52 +1000)
(cherry picked from commit f498d2db0d9f3344d314956253beda73ac29ea4f)

lib/dns/rpz.c

index 92eda66b9f354ebd001def3f524a24430b4657ef..90832b34d13d923087c2da5f486f1df17c12a0e1 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();
        }