From: Giuseppe Longo Date: Thu, 16 Oct 2014 14:29:52 +0000 (+0200) Subject: nft: fix syntax error in nft_parse_cmp() X-Git-Tag: v1.6.0~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84f6bf6345f59d442fd62c47abb03089eb9b2134;p=thirdparty%2Fiptables.git 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 --- 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); }