summaryrefslogtreecommitdiffstats
path: root/include/json.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2026-01-29 00:08:27 +0100
committerPhil Sutter <phil@nwl.cc>2026-01-29 15:04:01 +0100
commit5c5a8385dc974ea7887119963022ae988e2a16cc (patch)
treed8a51fbfa8723ae65beacf457ef9bba2783fd2fb /include/json.h
parentb587e4a7bbc8d6b574545617f2639dbd8905ec5d (diff)
src: Do not include userdata content in debug outputHEADmaster
This storage in rules and set elements is opaque by design, neither libnftnl nor kernel should deal with its content. Yet nftables enters data in host byte order which will lead to changing output depending on host's byte order. Avoid this problem for test suites checking the debug output by merely printing the number and sum of all the bytes in the buffer. This likely detects changes in userdata but deliberately ignores data reordering. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/json.h')
0 files changed, 0 insertions, 0 deletions