summaryrefslogtreecommitdiffstats
path: root/src/expr/data_reg.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-06-22 14:18:57 +0200
committerFlorian Westphal <fw@strlen.de>2018-06-26 20:19:28 +0200
commit9737856067b97cbb869e04fc6b6e65c1d859f521 (patch)
tree12ffbb13658b842ddfb3090380d953e3efbb63f2 /src/expr/data_reg.c
parentd1eeae816d39cb426654a721188428fd6d27959b (diff)
utils: Fix nftnl_get_value() on big endian
This function basically did: | memcpy(out, val, <len of requested type>); which works only for little endian integer types. Fix this by assigning the 64bit input value to a variable of the right size and use that as input for above memcpy() call. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/expr/data_reg.c')
0 files changed, 0 insertions, 0 deletions