]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: swap byteorder for host-endian concat data
authorFlorian Westphal <fw@strlen.de>
Fri, 29 Apr 2022 18:32:37 +0000 (20:32 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 9 May 2022 07:11:58 +0000 (09:11 +0200)
commit806ab081dc9ae3ea313ae9e471ee1c97c7a9e2ad
tree8faff6fffd9266616443776f019780dec663c947
parentc224aa6bc04fec945bd941aadccdb388b3ba32e6
netlink: swap byteorder for host-endian concat data

All data must be passed in network byte order, else matching
won't work respectively kernel will reject the interval because
it thinks that start is after end

This is needed to allow use of 'ppp*' in interval sets with
concatenations.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/netlink.c