From 7373297262eef6754570a5cb05c18332c801370f Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 24 Sep 2018 19:25:23 +0200 Subject: Combine command_match() implementations This merges the basically identical implementations of command_match() from xtables, iptables and ip6tables into one. The only required adjustment was to make use of xt_params instead of the different *_globals objects. Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- iptables/xshared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iptables/xshared.h') diff --git a/iptables/xshared.h b/iptables/xshared.h index ee0183c8..9039a24b 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -174,4 +174,6 @@ void print_ipv6_addresses(const struct ip6t_entry *fw6, unsigned int format); void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags, unsigned int format); +void command_match(struct iptables_command_state *cs); + #endif /* IPTABLES_XSHARED_H */ -- cgit v1.2.3