diff options
Diffstat (limited to 'iptables/iptables-save.c')
-rw-r--r-- | iptables/iptables-save.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/iptables/iptables-save.c b/iptables/iptables-save.c index e599fcec..238f368e 100644 --- a/iptables/iptables-save.c +++ b/iptables/iptables-save.c @@ -6,7 +6,7 @@ * */ #include <getopt.h> -#include <sys/errno.h> +#include <errno.h> #include <stdio.h> #include <fcntl.h> #include <stdlib.h> @@ -17,10 +17,6 @@ #include "iptables.h" #include "iptables-multi.h" -#ifndef NO_SHARED_LIBS -#include <dlfcn.h> -#endif - static int show_counters = 0; static const struct option options[] = { @@ -140,8 +136,11 @@ iptables_save_main(int argc, char *argv[]) init_extensions4(); #endif - while ((c = getopt_long(argc, argv, "bcdt:", options, NULL)) != -1) { + while ((c = getopt_long(argc, argv, "bcdt:M:", options, NULL)) != -1) { switch (c) { + case 'b': + fprintf(stderr, "-b/--binary option is not implemented\n"); + break; case 'c': show_counters = 1; break; |