allow unquoted response-policy zone names

This commit is contained in:
Evan Hunt 2018-10-28 23:25:46 -07:00
parent c6efbe5d26
commit 507230aa88
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -1590,7 +1590,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,