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 --- include/xtables.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/xtables.h b/include/xtables.h index fd9e6c33..bf169b08 100644 --- a/include/xtables.h +++ b/include/xtables.h @@ -424,7 +424,6 @@ struct xtables_globals struct option *opts; void (*exit_err)(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3))); int (*compat_rev)(const char *name, uint8_t rev, int opt); - size_t target_maxnamelen; }; #define XT_GETOPT_TABLEEND {.name = NULL, .has_arg = false} -- cgit v1.2.3