summaryrefslogtreecommitdiffstats
path: root/ip6tables-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index 8b56c083..f7c36097 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -111,7 +111,11 @@ static void free_argv(void) {
free(newargv[i]);
}
+#ifdef IPTABLES_MULTI
+int ip6tables_restore_main(int argc, char *argv[])
+#else
int main(int argc, char *argv[])
+#endif
{
ip6tc_handle_t handle = NULL;
char buffer[10240];