From 4e3771f04687657753f2a3666225341a3525f07e Mon Sep 17 00:00:00 2001 From: Bastiaan Bakker Date: Fri, 25 Jun 2004 11:18:57 +0000 Subject: Bastiaan Bakker's patch to combine iptables, iptables-save and iptables-restore for size reduction applied --- iptables-save.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'iptables-save.c') diff --git a/iptables-save.c b/iptables-save.c index 14314a5f..d825130e 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -321,7 +321,13 @@ static int do_output(const char *tablename) * :Chain name POLICY packets bytes * rule */ -int main(int argc, char *argv[]) +#ifdef IPTABLES_MULTI +int +iptables_save_main(int argc, char *argv[]) +#else +int +main(int argc, char *argv[]) +#endif { const char *tablename = NULL; int c; -- cgit v1.2.3