From dc59f82011504b4b3e5a57ee2791ef1c689433f4 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Sun, 28 Oct 2018 23:25:46 -0700 Subject: [PATCH] allow unquoted response-policy zone names (cherry picked from commit 507230aa8815259284b3c8c5d4c356d3b6f8aaa9) --- CHANGES | 3 +++ lib/isccfg/namedconf.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index e70513e66c7..06db255ff80 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +5066. [cleanup] Allow unquoted strings to be used as a zone names + in response-policy statements. [GL #641] + 5065. [bug] Only set IPV6_USE_MIN_MTU on IPv6. [GL #553] 5064. [test] Initalize TZ environment variable before calling diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index 4dd427e3a89..1132841403d 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -1461,7 +1461,7 @@ cfg_doc_kv_tuple(cfg_printer_t *pctx, const cfg_type_t *type) { } } -static keyword_type_t zone_kw = {"zone", &cfg_type_qstring}; +static keyword_type_t zone_kw = {"zone", &cfg_type_astring}; static cfg_type_t cfg_type_rpz_zone = { "zone", parse_keyvalue, print_keyvalue, doc_keyvalue, &cfg_rep_string, -- GitLab