aboutsummaryrefslogtreecommitdiff
path: root/iptables/xtables-eb-translate.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-11-11 17:16:40 +0100
committerPhil Sutter <phil@nwl.cc>2021-05-17 15:06:48 +0200
commit3664249f520308e8d9ce6238374f08ac96aedbb6 (patch)
treee71eed5f4bbf2e73c00b9045a45c22c6499c34f2 /iptables/xtables-eb-translate.c
parentf647f61f273a15ed25307d7ca7a19cefc828c54c (diff)
downloadiptables-3664249f520308e8d9ce6238374f08ac96aedbb6.tar.gz
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-translate.c')
-rw-r--r--iptables/xtables-eb-translate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/xtables-eb-translate.c b/iptables/xtables-eb-translate.c
index 83ae77cb..04b3dfa0 100644
--- a/iptables/xtables-eb-translate.c
+++ b/iptables/xtables-eb-translate.c
@@ -220,7 +220,6 @@ static int do_commandeb_xlate(struct nft_handle *h, int argc, char *argv[], char
while ((c = getopt_long(argc, argv,
"-A:D: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 */
case 'D': /* Delete a rule */