From 2673fafaafd2fb72b2830fa07b172c2d4d5a553e Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 11 Oct 2018 13:30:38 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- iptables/xtables-arp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'iptables/xtables-arp.c') diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c index 4a782148..6939a611 100644 --- a/iptables/xtables-arp.c +++ b/iptables/xtables-arp.c @@ -158,7 +158,6 @@ struct xtables_globals arptables_globals = { .orig_opts = original_opts, .exit_err = xtables_exit_error, .compat_rev = nft_compatible_revision, - .target_maxnamelen = sizeof(arpt_chainlabel), }; /* Table of legal combinations of commands and options. If any of the -- cgit v1.2.3