summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-save.c
diff options
context:
space:
mode:
authorJiri Popelka <jpopelka@redhat.com>2014-03-14 12:52:48 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-03-17 12:48:25 +0100
commitd25f308e54730677698d93f29ca4630e25237935 (patch)
tree445a852ad359387ea41bd004c9ac9b47efeaeb4e /iptables/xtables-save.c
parent991ad3874826d560efcf81c8422b1e9b5b935bbc (diff)
iptables-save: actually parse -M/--modprobe option
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-save.c')
-rw-r--r--iptables/xtables-save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-save.c b/iptables/xtables-save.c
index fe77283e..d51cdcf7 100644
--- a/iptables/xtables-save.c
+++ b/iptables/xtables-save.c
@@ -104,7 +104,7 @@ xtables_save_main(int family, const char *progname, int argc, char *argv[])
exit(EXIT_FAILURE);
}
- while ((c = getopt_long(argc, argv, "bcdt:46", options, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "bcdt:M:46", options, NULL)) != -1) {
switch (c) {
case 'b':
fprintf(stderr, "-b/--binary option is not implemented\n");