summaryrefslogtreecommitdiffstats
path: root/iptables-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-restore.c')
-rw-r--r--iptables-restore.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/iptables-restore.c b/iptables-restore.c
index e21cacc5..c0ab99e2 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -4,7 +4,7 @@
*
* This code is distributed under the terms of GNU GPL v2
*
- * $Id: iptables-restore.c,v 1.33 2004/02/01 22:03:27 gandalf Exp $
+ * $Id: iptables-restore.c,v 1.34 2004/05/26 16:04:48 gandalf Exp $
*/
#include <getopt.h>
@@ -99,7 +99,13 @@ static void free_argv(void) {
free(newargv[i]);
}
-int main(int argc, char *argv[])
+#ifdef IPTABLES_MULTI
+int
+iptables_restore_main(int argc, char *argv[])
+#else
+int
+main(int argc, char *argv[])
+#endif
{
iptc_handle_t handle = NULL;
char buffer[10240];