diff options
author | Liping Zhang <liping.zhang@spreadtrum.com> | 2016-09-02 20:51:26 +0800 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-09-02 15:02:57 +0200 |
commit | c70451db74961f33c21291f617eff1026d71daec (patch) | |
tree | fa7899a2a33a6d937e0294314d71a62e866045ba /tests/nft-expr_numgen-test.c | |
parent | 28893376911ac7ed49f8db0504f3c105a821e7a8 (diff) |
trace: use get_u32 to parse NFPROTO and POLICY attribute
NFTA_TRACE_NFPROTO and NFTA_TRACE_POLICY attribute is 32-bit
value, so we should use mnl_attr_get_u32 and htonl here.
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/nft-expr_numgen-test.c')
0 files changed, 0 insertions, 0 deletions