diff options
author | James Cowgill <James.Cowgill@imgtec.com> | 2017-04-07 12:47:29 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-04-14 01:04:38 +0200 |
commit | 1ec1fb7af08121d974416a1a23cd2d329fc0e29e (patch) | |
tree | d1eec7d42e183441371e419e8a05457f5dff475c /extensions/libxt_TCPOPTSTRIP.t | |
parent | 27f69f4a1ee983bda0cc72198622fc3498e34ddb (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/libxt_TCPOPTSTRIP.t')
0 files changed, 0 insertions, 0 deletions