From ef5d0c68261611d72ccecb3ae05c24448fbc91f5 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 1 Jun 2022 19:29:28 +0200 Subject: iptables-legacy: Drop redundant include of xtables-multi.h The header is included unconditionally first, so no point in doing it a second time of ENABLE_NFTABLES is defined. Fixes: be70918eab26e ("xtables: rename xt-multi binaries to -nft, -legacy") Signed-off-by: Phil Sutter --- iptables/xtables-legacy-multi.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'iptables') diff --git a/iptables/xtables-legacy-multi.c b/iptables/xtables-legacy-multi.c index 3b7905ff..2c719315 100644 --- a/iptables/xtables-legacy-multi.c +++ b/iptables/xtables-legacy-multi.c @@ -14,10 +14,6 @@ #include "ip6tables-multi.h" #endif -#ifdef ENABLE_NFTABLES -#include "xtables-multi.h" -#endif - static const struct subcommand multi_subcommands[] = { #ifdef ENABLE_IPV4 {"iptables", iptables_main}, -- cgit v1.2.3