From 84f6bf6345f59d442fd62c47abb03089eb9b2134 Mon Sep 17 00:00:00 2001 From: Giuseppe Longo Date: Thu, 16 Oct 2014 16:29:52 +0200 Subject: nft: fix syntax error in nft_parse_cmp() This fixes a syntax error, remove ; in an if statement Signed-off-by: Giuseppe Longo Signed-off-by: Pablo Neira Ayuso --- iptables/nft-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables') diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c index 70a28c83..00310a37 100644 --- a/iptables/nft-shared.c +++ b/iptables/nft-shared.c @@ -440,7 +440,7 @@ void nft_parse_cmp(struct nft_xt_ctx *ctx, struct nft_rule_expr *e) if (ctx->flags & NFT_XT_CTX_META) ops->parse_meta(ctx, e, data); /* bitwise context is interpreted from payload */ - if (ctx->flags & NFT_XT_CTX_PAYLOAD); + if (ctx->flags & NFT_XT_CTX_PAYLOAD) ops->parse_payload(ctx, e, data); } -- cgit v1.2.3