]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - multipath-tools/patches/0109-RH-read-only-bindings.patch
multipath-tools: Update to snapshot from 2013-02-22
[people/pmueller/ipfire-3.x.git] / multipath-tools / patches / 0109-RH-read-only-bindings.patch
diff --git a/multipath-tools/patches/0109-RH-read-only-bindings.patch b/multipath-tools/patches/0109-RH-read-only-bindings.patch
new file mode 100644 (file)
index 0000000..c08120f
--- /dev/null
@@ -0,0 +1,27 @@
+---
+ multipathd/main.c |    5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+Index: multipath-tools-130222/multipathd/main.c
+===================================================================
+--- multipath-tools-130222.orig/multipathd/main.c
++++ multipath-tools-130222/multipathd/main.c
+@@ -1879,7 +1879,7 @@ main (int argc, char *argv[])
+       if (!conf)
+               exit(1);
+-      while ((arg = getopt(argc, argv, ":dv:k::")) != EOF ) {
++      while ((arg = getopt(argc, argv, ":dv:k::B")) != EOF ) {
+       switch(arg) {
+               case 'd':
+                       logsink = 0;
+@@ -1895,6 +1895,9 @@ main (int argc, char *argv[])
+               case 'k':
+                       uxclnt(optarg);
+                       exit(0);
++              case 'B':
++                      conf->bindings_read_only = 1;
++                      break;
+               default:
+                       ;
+               }