]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: recent: Fix format string for unsigned values
authorPhil Sutter <phil@nwl.cc>
Thu, 20 Jun 2024 16:17:16 +0000 (18:17 +0200)
committerPhil Sutter <phil@nwl.cc>
Sat, 27 Jul 2024 17:32:57 +0000 (19:32 +0200)
commit8696f659eadd58505469841a3af16ad2c830e8e5
tree98f8536946a6dfab2d7495c5c37a228bca76edde
parent6a2aeda7585e07c0fcccb0c788299ab5a6a85881
extensions: recent: Fix format string for unsigned values

Both fields 'seconds' and 'hit_count' are unsigned, use '%u'
accordingly. While being at it, also fix coding-style in those lines.

Basically a day-1 bug, have Fixes: point at a reasonably old commit.

Fixes: af1660fe0e88c ("Move libipt_recent to libxt_recent")
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libxt_recent.c