Message ID | 1413469793-21382-2-git-send-email-giuseppelng@gmail.com |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
On Thu, Oct 16, 2014 at 04:29:52PM +0200, Giuseppe Longo wrote:
> This fixes a syntax error, remove ; in an if statement
Applied to master, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c index 2b87092..d6f838c 100644 --- a/iptables/nft-shared.c +++ b/iptables/nft-shared.c @@ -444,7 +444,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); }
This fixes a syntax error, remove ; in an if statement Signed-off-by: Giuseppe Longo <giuseppelng@gmail.com> --- iptables/nft-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)