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