]> granicus.if.org Git - libnl/commitdiff
libnl: fix policy check for NFQA_HWADDR
authorThomas Graf <tgr@lsx.localdomain>
Mon, 10 Mar 2008 13:59:32 +0000 (14:59 +0100)
committerThomas Graf <tgr@lsx.localdomain>
Mon, 10 Mar 2008 13:59:32 +0000 (14:59 +0100)
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
lib/netfilter/queue_msg.c

index 82e79a6b1adee376b1a1d01b68ad5ca91e7531e8..a097b684b24434876d60b6eec35bc971ec9c5982 100644 (file)
@@ -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),
        },
 };