]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: Store optstring in xtables_globals
authorPhil Sutter <phil@nwl.cc>
Mon, 27 Sep 2021 14:59:49 +0000 (16:59 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 20 Oct 2021 09:32:54 +0000 (11:32 +0200)
commit65b150ae382a8b5d1fc7f2465b3ac590c1601ce1
treec319b280cff3f8fca00539cd9e7fbb54e21e4be6
parent2e6014c739852daf8c0c42caeef01d3966622c4b
xshared: Store optstring in xtables_globals

Preparing for a common option parser, store the string of options for
each family inside the respective xtables_globals object. The
array of long option definitions sitting in there already indicates it's
the right place.

While being at it, drop '-m' support from arptables-nft.

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