summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_icmp6.c
diff options
context:
space:
mode:
authorJames Cowgill <James.Cowgill@imgtec.com>2017-04-07 12:47:29 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-04-14 01:04:38 +0200
commit1ec1fb7af08121d974416a1a23cd2d329fc0e29e (patch)
treed1eec7d42e183441371e419e8a05457f5dff475c /extensions/libip6t_icmp6.c
parent27f69f4a1ee983bda0cc72198622fc3498e34ddb (diff)
extensions: libxt_hashlimit: fix 64-bit printf formats
hashlimit was using "%lu" in a lot of printf format specifiers to print 64-bit integers. This is incorrect on 32-bit architectures because "long int" is 32-bits there. On MIPS, it was causing iptables to segfault when printing these integers. Fix by using the correct format specifier. Signed-off-by: James Cowgill <James.Cowgill@imgtec.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_icmp6.c')
0 files changed, 0 insertions, 0 deletions