summaryrefslogtreecommitdiff
path: root/sbin/unwind/libunbound/util/configparser.y
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2019-03-30 01:54:44 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2019-03-30 01:54:44 +0000
commit00ee853f0854675f3488cfa94b35bfd6f6406dc3 (patch)
treeb236817ee9215f0e11efa14276222afe28eb1c0f /sbin/unwind/libunbound/util/configparser.y
parentb46f5afffeed0510aca777c9cc9ebec532c59c5a (diff)
update to libunbound 1.9.1; heavy lifting by sthen in unbound(8)
Diffstat (limited to 'sbin/unwind/libunbound/util/configparser.y')
-rw-r--r--sbin/unwind/libunbound/util/configparser.y8
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/unwind/libunbound/util/configparser.y b/sbin/unwind/libunbound/util/configparser.y
index 5f52f4d7784..c7b916966e2 100644
--- a/sbin/unwind/libunbound/util/configparser.y
+++ b/sbin/unwind/libunbound/util/configparser.y
@@ -1783,12 +1783,14 @@ server_local_zone: VAR_LOCAL_ZONE STRING_ARG STRING_ARG
&& strcmp($3, "always_refuse")!=0
&& strcmp($3, "always_nxdomain")!=0
&& strcmp($3, "noview")!=0
- && strcmp($3, "inform")!=0 && strcmp($3, "inform_deny")!=0) {
+ && strcmp($3, "inform")!=0 && strcmp($3, "inform_deny")!=0
+ && strcmp($3, "inform_redirect") != 0) {
yyerror("local-zone type: expected static, deny, "
"refuse, redirect, transparent, "
"typetransparent, inform, inform_deny, "
- "always_transparent, always_refuse, "
- "always_nxdomain, noview or nodefault");
+ "inform_redirect, always_transparent, "
+ "always_refuse, always_nxdomain, noview "
+ "or nodefault");
free($2);
free($3);
} else if(strcmp($3, "nodefault")==0) {