From 4bc48331d2d1ef64ba452329f2c77137036f6437 Mon Sep 17 00:00:00 2001 From: Hann-Huei Chiou Date: Tue, 23 Oct 2007 14:22:34 +0000 Subject: let DO_MULTI=1 work for ip6tables* binaries When defining DO_MULTI=1 in Makefile, only iptables is built as a single multipurpose binary. This patch makes ip6tables also be built in the same manner. Hann-huei Chiou --- ip6tables-standalone.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ip6tables-standalone.c') diff --git a/ip6tables-standalone.c b/ip6tables-standalone.c index 36dde331..b7dfd179 100644 --- a/ip6tables-standalone.c +++ b/ip6tables-standalone.c @@ -36,8 +36,13 @@ #include #include +#ifdef IPTABLES_MULTI +int +ip6tables_main(int argc, char *argv[]) +#else int main(int argc, char *argv[]) +#endif { int ret; char *table = "filter"; -- cgit v1.2.3