Blame SOURCES/0109-RH-read-only-bindings.patch

4728c8
---
4728c8
 multipathd/main.c |    5 ++++-
4728c8
 1 file changed, 4 insertions(+), 1 deletion(-)
4728c8
4728c8
Index: multipath-tools-130222/multipathd/main.c
4728c8
===================================================================
4728c8
--- multipath-tools-130222.orig/multipathd/main.c
4728c8
+++ multipath-tools-130222/multipathd/main.c
4728c8
@@ -1879,7 +1879,7 @@ main (int argc, char *argv[])
4728c8
 	if (!conf)
4728c8
 		exit(1);
4728c8
 
4728c8
-	while ((arg = getopt(argc, argv, ":dv:k::")) != EOF ) {
4728c8
+	while ((arg = getopt(argc, argv, ":dv:k::B")) != EOF ) {
4728c8
 	switch(arg) {
4728c8
 		case 'd':
4728c8
 			logsink = 0;
4728c8
@@ -1895,6 +1895,9 @@ main (int argc, char *argv[])
4728c8
 		case 'k':
4728c8
 			uxclnt(optarg);
4728c8
 			exit(0);
4728c8
+		case 'B':
4728c8
+			conf->bindings_read_only = 1;
4728c8
+			break;
4728c8
 		default:
4728c8
 			;
4728c8
 		}