diff options
author | Phil Sutter <phil@nwl.cc> | 2020-11-11 17:16:40 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-05-17 15:06:48 +0200 |
commit | 3664249f520308e8d9ce6238374f08ac96aedbb6 (patch) | |
tree | e71eed5f4bbf2e73c00b9045a45c22c6499c34f2 /iptables/xtables-eb.c | |
parent | f647f61f273a15ed25307d7ca7a19cefc828c54c (diff) |
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 <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-eb.c')
-rw-r--r-- | iptables/xtables-eb.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |