diff options
author | Florian Westphal <fw@strlen.de> | 2015-09-17 23:23:25 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2015-09-18 00:00:24 +0200 |
commit | c02107ef4e0fa49e5e57bfc8fb4e2b83654e8c68 (patch) | |
tree | 55d2dde0102a384f8a1c66a71aebc320a677a71b /src/payload.c | |
parent | 7658a537449bdad1e9c101abfb70556511ee204d (diff) |
tests: don't depend on set element order
Pablo reported test failures because the order of returned set entries
is not deterministic.
This sorts set elements before comparision.
Patrick suggested to move ordering into libnftnl (since we could f.e.
also get duplicate entries due to how netlink dumps work), but thats a bit
more work. Hence this quick workaround.
Reported-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/payload.c')
0 files changed, 0 insertions, 0 deletions