6 int ip6tables_main(int argc, char **argv);
7 int ip6tables_save_main(int argc, char **argv);
8 int ip6tables_restore_main(int argc, char **argv);
10 int main(int argc, char **argv) {
14 fprintf(stderr, "no argv[0]?");
17 progname = basename(argv[0]);
19 if (!strcmp(progname, "ip6tables"))
20 return ip6tables_main(argc, argv);
22 if (!strcmp(progname, "ip6tables-save"))
23 return ip6tables_save_main(argc, argv);
25 if (!strcmp(progname, "ip6tables-restore"))
26 return ip6tables_restore_main(argc, argv);
28 fprintf(stderr, "ip6tables multi-purpose version: unknown applet name %s\n", progname);