]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_json: Fix limit object burst value parsing
authorPhil Sutter <phil@nwl.cc>
Wed, 20 Sep 2023 17:37:21 +0000 (19:37 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 22 Sep 2023 08:55:25 +0000 (10:55 +0200)
commit29aeff471496b6b1ae9a08dada21a5a9278467cf
treee76822fae545cb156d7e2a5e4d3b36399ed5e3fb
parent407e947dfc53827bd27689f2de9ed7f14f1b092e
parser_json: Fix limit object burst value parsing

The field is of type uint32_t, use lower case 'i' format specifier.

Fixes: c36288dbe2ba3 ("JSON: Fix parsing and printing of limit objects")
Signed-off-by: Phil Sutter <phil@nwl.cc>
src/parser_json.c