From 323dd35f9f347951d88130597a98e0a8da72d388 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 2 Nov 2013 16:10:12 +0100 Subject: Change error message for methods from `invalid' to `unsupported' --- src/config.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.y') diff --git a/src/config.y b/src/config.y index ca2d8de..4efbde5 100644 --- a/src/config.y +++ b/src/config.y @@ -342,7 +342,7 @@ mode: TOK_TAP { conf->mode = MODE_TAP; } protocol: TOK_STRING { if (!fastd_config_protocol(ctx, conf, $1->str)) { - fastd_config_error(&@$, ctx, conf, filename, depth, "invalid protocol"); + fastd_config_error(&@$, ctx, conf, filename, depth, "unsupported protocol"); YYERROR; } } @@ -350,7 +350,7 @@ protocol: TOK_STRING { method: TOK_STRING { if (!fastd_config_method(ctx, conf, $1->str)) { - fastd_config_error(&@$, ctx, conf, filename, depth, "invalid method"); + fastd_config_error(&@$, ctx, conf, filename, depth, "unsupported method"); YYERROR; } } -- cgit v1.2.3