[nft PATCH v2 09/14] JSON: Improve prefix expression parsing error message a bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 src/parser_json.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parser_json.c b/src/parser_json.c
index bd1c0a04993c8..432991fa152d4 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -951,7 +951,7 @@ static struct expr *json_parse_prefix_expr(struct json_ctx *ctx,
 
 	expr = json_parse_primary_expr(ctx, addr);
 	if (!expr) {
-		json_error(ctx, "Invalid prefix in prefix expr.");
+		json_error(ctx, "Invalid address in prefix expr.");
 		return NULL;
 	}
 	return prefix_expr_alloc(int_loc, expr, len);
-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux