]> granicus.if.org Git - libnl/commit
Fix nfnl_queue_msg_get_packetid() return type
authorPatrick McHardy <kaber@trash.net>
Thu, 24 Jan 2008 12:28:08 +0000 (13:28 +0100)
committerThomas Graf <tgr@deb.localdomain>
Thu, 7 Feb 2008 12:18:34 +0000 (13:18 +0100)
commitca0988a2a793bf06381ef1237178df6115b34c80
tree57febe79d01939b5594fe854ab7d9ee790ce6329
parent574d4af2b110280bb40d5334147ae694a952a445
Fix nfnl_queue_msg_get_packetid() return type

[LIBNL]: Fix nfnl_queue_msg_get_packetid() return type

The packet-ID is a 32 bit value, but nfnl_queue_msg_get_packetid() returns
an uint16_t. Makes queueing fail after 2^16 packets.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/netlink/netfilter/queue_msg.h
lib/netfilter/queue_msg_obj.c