summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/configparser.y
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2018-09-29 17:17:55 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2018-09-29 17:17:55 +0000
commit968fe225e554b28a516d4d2a5d881e57bf258fb8 (patch)
tree153b597207468861867ea0c88527559d32e73597 /usr.sbin/nsd/configparser.y
parent87e61f13004ca898d429960173f3a871e229f1bf (diff)
update to 4.1.25
OK sthen (on a slightly different configure script version)
Diffstat (limited to 'usr.sbin/nsd/configparser.y')
-rw-r--r--usr.sbin/nsd/configparser.y3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.sbin/nsd/configparser.y b/usr.sbin/nsd/configparser.y
index 547518f88c6..567641ce706 100644
--- a/usr.sbin/nsd/configparser.y
+++ b/usr.sbin/nsd/configparser.y
@@ -154,9 +154,6 @@ server_debug_mode: VAR_DEBUG_MODE STRING
server_use_systemd: VAR_USE_SYSTEMD STRING
{
OUTYY(("P(server_use_systemd:%s)\n", $2));
- if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
- yyerror("expected yes or no.");
- else cfg_parser->opt->use_systemd = (strcmp($2, "yes")==0);
}
;
server_verbosity: VAR_VERBOSITY STRING