]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: Drop xtables_globals 'optstring' field
authorPhil Sutter <phil@nwl.cc>
Thu, 5 May 2022 21:48:50 +0000 (23:48 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 11 May 2022 10:02:35 +0000 (12:02 +0200)
commitfd64a5871b671a66f1ba6d6e3aa83ed24d92c099
tree433b4f605c9108c6576aa9539fbab1efb3385f01
parent3b8a6a6fa870c5ed4a2c533fcec9524bc98e5709
libxtables: Drop xtables_globals 'optstring' field

Define the different optstrings in xshared.h instead, they are not
relevant for other libxtables users.

This is a partial revert of commit 65b150ae382a8 ("xshared: Store
optstring in xtables_globals") to avoid breaking libxtables' ABI
compatibility.

Signed-off-by: Phil Sutter <phil@nwl.cc>
include/xtables.h
iptables/ip6tables.c
iptables/iptables.c
iptables/xshared.c
iptables/xshared.h
iptables/xtables-arp.c
iptables/xtables-eb.c
iptables/xtables.c