netfilter: nft_reject: fix endianness in dump function
authorEric Leblond <eric@regit.org>
Thu, 12 Dec 2013 07:51:59 +0000 (08:51 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 12 Dec 2013 08:37:39 +0000 (09:37 +0100)
The dump function in nft_reject_ipv4 was not converting a u32
field to network order before sending it to userspace, this
needs to happen for consistency with other nf_tables and
nfnetlink subsystems.

Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found