]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: Introduce xtables_strtoul_base()
authorPhil Sutter <phil@nwl.cc>
Wed, 22 Nov 2023 19:41:34 +0000 (20:41 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 23 Nov 2023 17:01:21 +0000 (18:01 +0100)
commit1af6984c57cce5169491d308b58a9c85464b2159
tree36919e665a167fdabac469d7912d1dfde2e3b7bd
parentb1c5270bdf35138d7459349df487e1c9e18c4c32
libxtables: Introduce xtables_strtoul_base()

Semantically identical to xtables_strtoul() but accepts the base as
parameter so callers may force it irrespective of number prefix. The old
xtables_strtoul() becomes a shallow wrapper.

Signed-off-by: Phil Sutter <phil@nwl.cc>
include/xtables.h
libxtables/xtables.c