diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-03-10 13:59:32 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-03-10 13:59:32 (GMT) |
commit | 0c2cb97924c4ab22f525d2419cf2e8ed9927541c (patch) | |
tree | 0fa05a3711f5f6b13adeb424ac98e2356b2e519c /lib/netfilter | |
parent | a9183a9c9faccff54a25b06b81a720211e8eafc2 (diff) | |
download | libnl-0c2cb97924c4ab22f525d2419cf2e8ed9927541c.zip libnl-0c2cb97924c4ab22f525d2419cf2e8ed9927541c.tar.gz libnl-0c2cb97924c4ab22f525d2419cf2e8ed9927541c.tar.bz2 |
libnl: fix policy check for NFQA_HWADDR
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Diffstat (limited to 'lib/netfilter')
-rw-r--r-- | lib/netfilter/queue_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netfilter/queue_msg.c b/lib/netfilter/queue_msg.c index 82e79a6..a097b68 100644 --- a/lib/netfilter/queue_msg.c +++ b/lib/netfilter/queue_msg.c @@ -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), }, }; |