diff options
author | Phil Sutter <phil@nwl.cc> | 2018-10-11 13:30:38 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-15 11:58:47 +0200 |
commit | 2673fafaafd2fb72b2830fa07b172c2d4d5a553e (patch) | |
tree | bbcdd82694b0ac5e789d467c06ed75aa67618698 /iptables/iptables.c | |
parent | 8ca343624da596313f566147f54d206a24994aae (diff) |
xtables: Remove target_maxnamelen field
This is a partial revert of commit 9f075031a1973 ("Combine
parse_target() and command_jump() implementations"): Upstream prefers to
reduce max chain name length of arptables by two characters instead of
the introduced struct xtables_globals field which requires to bump
library API version.
Fixes: 9f075031a1973 ("Combine parse_target() and command_jump() implementations")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/iptables.c')
-rw-r--r-- | iptables/iptables.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/iptables.c b/iptables/iptables.c index b9ce64e6..f8041f56 100644 --- a/iptables/iptables.c +++ b/iptables/iptables.c @@ -124,7 +124,6 @@ struct xtables_globals iptables_globals = { .orig_opts = original_opts, .exit_err = iptables_exit_error, .compat_rev = xtables_compatible_revision, - .target_maxnamelen = XT_EXTENSION_MAXNAMELEN, }; /* Table of legal combinations of commands and options. If any of the |