Skip to content

Commit

Permalink
netfilter: nft_ct: fix missing NFT_CT_L3PROTOCOL key in validity checks
Browse files Browse the repository at this point in the history
The key was missing in the list of valid keys, add it.

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
  • Loading branch information
kaber authored and ummakynes committed Feb 5, 2014
1 parent ec2c993 commit 51292c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/netfilter/nft_ct.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ static int nft_ct_init_validate_get(const struct nft_expr *expr,
if (tb[NFTA_CT_DIRECTION] != NULL)
return -EINVAL;
break;
case NFT_CT_L3PROTOCOL:
case NFT_CT_PROTOCOL:
case NFT_CT_SRC:
case NFT_CT_DST:
Expand Down

0 comments on commit 51292c0

Please sign in to comment.