]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-eb: Eliminate 'opts' define
authorPhil Sutter <phil@nwl.cc>
Wed, 31 Jan 2024 20:03:25 +0000 (21:03 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 1 Feb 2024 13:51:30 +0000 (14:51 +0100)
commit3a135363c9e73dd51535c58b65afd4be65a4be64
treea537a005457fd038e5473b175e9ab84fa110a162
parente7366db80740d34d2fe4ba8d12ef86a423e66280
xtables-eb: Eliminate 'opts' define

It is more harm than good as it hides assignments to xt_params->opts
field and does funny things if statements actually use xt_params->opts
instead of the define.

Replace it by local variables where sensible (cf. command_match() and
command_jump() in xshared.c).

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