summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/config.y b/src/config.y
index a79e8e9..68d41a4 100644
--- a/src/config.y
+++ b/src/config.y
@@ -350,10 +350,7 @@ protocol: TOK_STRING {
;
method: TOK_STRING {
- if (!fastd_config_method(ctx, conf, $1->str)) {
- fastd_config_error(&@$, ctx, conf, filename, depth, "unsupported method");
- YYERROR;
- }
+ fastd_config_method(ctx, conf, $1->str);
}
;