summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_socket.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2026-01-28 20:29:51 +0100
committerPhil Sutter <phil@nwl.cc>2026-01-30 17:21:18 +0100
commit7f5f85f5c1d29cffd62f6343b91c498256b4972a (patch)
treec2680eda1122cde10aa1a8a838ae034758d62980 /extensions/libxt_socket.c
parent85a19cead8eb889fb1a01a25f292cf208b2adf50 (diff)
ruleparse: arp: Fix for all-zero mask on Big Endian
With 16bit mask values, the first two bytes of bitwise.mask in struct nft_xt_ctx_reg are significant. Reading the first 32bit-sized field works only on Little Endian, on Big Endian the mask appears in the upper two bytes which are discarded when assigning to a 16bit variable. Fixes: ab2d5f8c7bbee ("nft-arp: add missing mask support") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_socket.c')
0 files changed, 0 insertions, 0 deletions