diff options
author | Phil Sutter <phil@nwl.cc> | 2023-11-19 13:18:26 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-11-23 17:59:42 +0100 |
commit | b180d9c86d2cce6ab6fd3e3617faf320a8a1babb (patch) | |
tree | 6f39610d8848e41571fd7470e487e02200b92a6b /iptables/xtables-translate.c | |
parent | a26212542c27fee2f5fcabd22abaf03e74d1c7fc (diff) |
xshared: struct xt_cmd_parse::xlate is unused
Drop the boolean, it was meant to disable some existence checks in
do_parse() prior to the caching rework. Now that do_parse() runs before
any caching is done, the checks in question don't exist anymore so drop
this relict.
Fixes: a7f1e208cdf9c ("nft: split parsing from netlink commands")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-translate.c')
-rw-r--r-- | iptables/xtables-translate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/xtables-translate.c b/iptables/xtables-translate.c index ea9dce20..ad443112 100644 --- a/iptables/xtables-translate.c +++ b/iptables/xtables-translate.c @@ -259,7 +259,6 @@ static int do_command_xlate(struct nft_handle *h, int argc, char *argv[], .table = *table, .restore = restore, .line = line, - .xlate = true, .ops = &h->ops->cmd_parse, }; struct iptables_command_state cs = { |