summaryrefslogtreecommitdiffstats
path: root/src/filter.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-09-10 14:02:30 +0200
committerPhil Sutter <phil@nwl.cc>2019-09-10 22:24:28 +0200
commit7c5f4b390f4b8dc02aceb0a18ed7c59ff14f392c (patch)
tree7867ef8dd6b4af4c003dc68bda997b859d80f841 /src/filter.c
parentf27901afb038b07532b4c31cb77bbc0bd8068253 (diff)
nfct: helper: Fix NFCTH_ATTR_PROTO_L4NUM size
Kernel defines NFCTH_TUPLE_L4PROTONUM as of type NLA_U8. When adding a helper, NFCTH_ATTR_PROTO_L4NUM attribute is correctly set using nfct_helper_attr_set_u8(), though when deleting nfct_helper_attr_set_u32() was incorrectly used. Due to alignment, this causes trouble only on Big Endian. Fixes: 5e8f64f46cb1d ("conntrackd: add cthelper infrastructure (+ example FTP helper)") Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/filter.c')
0 files changed, 0 insertions, 0 deletions