Blame SOURCES/iptables-1.4.21-rhbz_1054871.patch

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