netfilter: exthdr: add missign attributes to policy
Add missing netlink attribute policy. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
96307a0a75
commit
f5b5702ac5
|
@ -214,6 +214,8 @@ static const struct nla_policy nft_exthdr_policy[NFTA_EXTHDR_MAX + 1] = {
|
|||
[NFTA_EXTHDR_OFFSET] = { .type = NLA_U32 },
|
||||
[NFTA_EXTHDR_LEN] = { .type = NLA_U32 },
|
||||
[NFTA_EXTHDR_FLAGS] = { .type = NLA_U32 },
|
||||
[NFTA_EXTHDR_OP] = { .type = NLA_U32 },
|
||||
[NFTA_EXTHDR_SREG] = { .type = NLA_U32 },
|
||||
};
|
||||
|
||||
static int nft_exthdr_init(const struct nft_ctx *ctx,
|
||||
|
|
Loading…
Reference in New Issue