]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables-legacy: Drop redundant include of xtables-multi.h
authorPhil Sutter <phil@nwl.cc>
Wed, 1 Jun 2022 17:29:28 +0000 (19:29 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 10 Jun 2022 13:35:28 +0000 (15:35 +0200)
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 <phil@nwl.cc>
iptables/xtables-legacy-multi.c

index 3b7905ff76b13f6c2a893276bd87874d7434e47a..2c71931551b5ce38dc5d01e31c061f4c215e0fd7 100644 (file)
 #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},