mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2025-02-21 11:40:40 +00:00
libnl: fix policy check for NFQA_HWADDR
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
This commit is contained in:
parent
a9183a9c9f
commit
0c2cb97924
@ -54,7 +54,7 @@ static struct nla_policy queue_policy[NFQA_MAX+1] = {
|
||||
[NFQA_IFINDEX_PHYSINDEV] = { .type = NLA_U32 },
|
||||
[NFQA_IFINDEX_PHYSOUTDEV] = { .type = NLA_U32 },
|
||||
[NFQA_HWADDR] = {
|
||||
.minlen = sizeof(struct nfqnl_msg_packet_timestamp),
|
||||
.minlen = sizeof(struct nfqnl_msg_packet_hw),
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user