|
|
ea7f4c |
diff -up iptables-1.4.21/iptables/ip6tables-save.c.rhbz_1054871 iptables-1.4.21/iptables/ip6tables-save.c
|
|
|
ea7f4c |
--- iptables-1.4.21/iptables/ip6tables-save.c.rhbz_1054871 2013-11-22 12:18:13.000000000 +0100
|
|
|
ea7f4c |
+++ iptables-1.4.21/iptables/ip6tables-save.c 2014-03-11 16:19:11.855799695 +0100
|
|
|
ea7f4c |
@@ -141,7 +141,7 @@ int ip6tables_save_main(int argc, char *
|
|
|
ea7f4c |
init_extensions6();
|
|
|
ea7f4c |
#endif
|
|
|
ea7f4c |
|
|
|
ea7f4c |
- while ((c = getopt_long(argc, argv, "bcdt:", options, NULL)) != -1) {
|
|
|
ea7f4c |
+ while ((c = getopt_long(argc, argv, "M:cdt:", options, NULL)) != -1) {
|
|
|
ea7f4c |
switch (c) {
|
|
|
ea7f4c |
case 'c':
|
|
|
ea7f4c |
show_counters = 1;
|
|
|
ea7f4c |
diff -up iptables-1.4.21/iptables/iptables-save.8.in.rhbz_1054871 iptables-1.4.21/iptables/iptables-save.8.in
|
|
|
ea7f4c |
--- iptables-1.4.21/iptables/iptables-save.8.in.rhbz_1054871 2013-11-22 12:18:13.000000000 +0100
|
|
|
ea7f4c |
+++ iptables-1.4.21/iptables/iptables-save.8.in 2014-03-11 16:15:54.491729364 +0100
|
|
|
ea7f4c |
@@ -23,11 +23,11 @@ iptables-save \(em dump iptables rules t
|
|
|
ea7f4c |
.P
|
|
|
ea7f4c |
ip6tables-save \(em dump iptables rules to stdout
|
|
|
ea7f4c |
.SH SYNOPSIS
|
|
|
ea7f4c |
-\fBiptables\-save\fP [\fB\-M\fP \fImodprobe\fP] [\fB\-c\fP]
|
|
|
ea7f4c |
+\fBiptables\-save\fP [\fB\-M\fP,\fB\-\-modprobe\fP \fImodprobe\fP] [\fB\-c\fP]
|
|
|
ea7f4c |
[\fB\-t\fP \fItable\fP]
|
|
|
ea7f4c |
.P
|
|
|
ea7f4c |
-\fBip6tables\-save\fP [\fB\-M\fP \fImodprobe\fP] [\fB\-c\fP]
|
|
|
ea7f4c |
-[\fB\-t\fP \fItable\fP
|
|
|
ea7f4c |
+\fBip6tables\-save\fP [\fB\-M\fP,\fB\-\-modprobe\fP \fImodprobe\fP] [\fB\-c\fP]
|
|
|
ea7f4c |
+[\fB\-t\fP \fItable\fP]
|
|
|
ea7f4c |
.SH DESCRIPTION
|
|
|
ea7f4c |
.PP
|
|
|
ea7f4c |
.B iptables-save
|
|
|
ea7f4c |
@@ -36,7 +36,7 @@ and
|
|
|
ea7f4c |
are used to dump the contents of IP or IPv6 Table in easily parseable format
|
|
|
ea7f4c |
to STDOUT. Use I/O-redirection provided by your shell to write to a file.
|
|
|
ea7f4c |
.TP
|
|
|
ea7f4c |
-\fB\-M\fP \fImodprobe_program\fP
|
|
|
ea7f4c |
+\fB\-M\fP,\fB\-\-modprobe\fP \fImodprobe_program\fP
|
|
|
ea7f4c |
Specify the path to the modprobe program. By default, iptables-save will
|
|
|
ea7f4c |
inspect /proc/sys/kernel/modprobe to determine the executable's path.
|
|
|
ea7f4c |
.TP
|
|
|
ea7f4c |
diff -up iptables-1.4.21/iptables/iptables-save.c.rhbz_1054871 iptables-1.4.21/iptables/iptables-save.c
|
|
|
ea7f4c |
--- iptables-1.4.21/iptables/iptables-save.c.rhbz_1054871 2013-11-22 12:18:13.000000000 +0100
|
|
|
ea7f4c |
+++ iptables-1.4.21/iptables/iptables-save.c 2014-03-11 16:19:38.354409495 +0100
|
|
|
ea7f4c |
@@ -140,7 +140,7 @@ iptables_save_main(int argc, char *argv[
|
|
|
ea7f4c |
init_extensions4();
|
|
|
ea7f4c |
#endif
|
|
|
ea7f4c |
|
|
|
ea7f4c |
- while ((c = getopt_long(argc, argv, "bcdt:", options, NULL)) != -1) {
|
|
|
ea7f4c |
+ while ((c = getopt_long(argc, argv, "M:cdt:", options, NULL)) != -1) {
|
|
|
ea7f4c |
switch (c) {
|
|
|
ea7f4c |
case 'c':
|
|
|
ea7f4c |
show_counters = 1;
|