From: Pablo Neira Ayuso Date: Sun, 2 Jan 2022 20:46:10 +0000 (+0100) Subject: src: remove '$' in symbol_expr_print X-Git-Tag: v1.0.2~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19a36424bc2949f2ae96731ada9714f8bce950d8;p=thirdparty%2Fnftables.git src: remove '$' in symbol_expr_print This is used in --debug=eval mode to annotate symbols that have not yet been evaluated, remove it. Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/expression.c b/src/expression.c index f1cca884..34e0880b 100644 --- a/src/expression.c +++ b/src/expression.c @@ -300,8 +300,7 @@ struct expr *verdict_expr_alloc(const struct location *loc, static void symbol_expr_print(const struct expr *expr, struct output_ctx *octx) { - nft_print(octx, "%s%s", expr->scope != NULL ? "$" : "", - expr->identifier); + nft_print(octx, "%s", expr->identifier); } static void symbol_expr_clone(struct expr *new, const struct expr *expr)