path: root/iptables/iptables-restore.c
diff options
authorJames Cowgill <>2017-04-07 12:47:29 +0100
committerPablo Neira Ayuso <>2017-04-14 01:04:38 +0200
commit1ec1fb7af08121d974416a1a23cd2d329fc0e29e (patch)
treed1eec7d42e183441371e419e8a05457f5dff475c /iptables/iptables-restore.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 <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'iptables/iptables-restore.c')
0 files changed, 0 insertions, 0 deletions