commit | 5210d393ef84e5d2a4854671a9af2d97fd1b8dd4 | [log] [tgz] |
---|---|---|
author | Liping Zhang <liping.zhang@spreadtrum.com> | Fri Sep 02 20:49:12 2016 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Sep 05 19:28:23 2016 +0200 |
tree | 25a5dd8d46c1c8474593aed3daf19d043bd45b7e | |
parent | 6e1ce3c3451291142a57c4f3f6f999a29fb5b3bc [diff] |
netfilter: nf_tables_trace: fix endiness when dump chain policy NFTA_TRACE_POLICY attribute is big endian, but we forget to call htonl to convert it. Fortunately, this attribute is parsed as big endian in libnftnl. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>