]> git.ipfire.org Git - thirdparty/ipset.git/commit
Fix hex literals in json output
authorJozsef Kadlecsik <kadlec@netfilter.org>
Tue, 12 Dec 2023 08:24:43 +0000 (09:24 +0100)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Tue, 12 Dec 2023 08:24:43 +0000 (09:24 +0100)
commitca62c0e1640e5d112679044434227024690b53bc
tree7203fc52711aa458c1107646bc27be1269cd5a68
parentb15dd2752a2d666358a42285528805bf2835f6c6
Fix hex literals in json output

Json does not allow 0x prefixes in hex numbers, so output hex numbers
as quoted strings instead.

Fixes bugzilla #1726, reported by Mark.

Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
include/libipset/session.h
lib/print.c
lib/session.c