From 3664249f520308e8d9ce6238374f08ac96aedbb6 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 11 Nov 2020 17:16:40 +0100 Subject: xshared: Eliminate iptables_command_state->invert This field is not used by routines working with struct iptables_command_state: It is merely a temporary flag used by parsers to carry the '!' prefix until invflags have been populated (or error checking done if unsupported). Signed-off-by: Phil Sutter --- iptables/xtables-eb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'iptables/xtables-eb.c') diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index 5bb34d6d..6c58adaa 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -751,7 +751,6 @@ int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table, while ((c = getopt_long(argc, argv, "-A:D:C:I:N:E:X::L::Z::F::P:Vhi:o:j:c:p:s:d:t:M:", opts, NULL)) != -1) { cs.c = c; - cs.invert = ebt_invert; switch (c) { case 'A': /* Add a rule */ -- cgit v1.2.3