2014-12-16 00:24:07 +00:00
|
|
|
---
|
|
|
|
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
|
2014-12-18 23:08:30 +00:00
|
|
|
@@ -1879,7 +1879,7 @@ main (int argc, char *argv[])
|
2014-12-16 00:24:07 +00:00
|
|
|
if (!conf)
|
|
|
|
exit(1);
|
|
|
|
|
2014-12-18 23:08:30 +00:00
|
|
|
- while ((arg = getopt(argc, argv, ":dv:k::")) != EOF ) {
|
|
|
|
+ while ((arg = getopt(argc, argv, ":dv:k::B")) != EOF ) {
|
2014-12-16 00:24:07 +00:00
|
|
|
switch(arg) {
|
|
|
|
case 'd':
|
|
|
|
logsink = 0;
|
2014-12-18 23:08:30 +00:00
|
|
|
@@ -1895,6 +1895,9 @@ main (int argc, char *argv[])
|
2014-12-16 00:24:07 +00:00
|
|
|
case 'k':
|
|
|
|
uxclnt(optarg);
|
|
|
|
exit(0);
|
|
|
|
+ case 'B':
|
|
|
|
+ conf->bindings_read_only = 1;
|
|
|
|
+ break;
|
|
|
|
default:
|
|
|
|
;
|
|
|
|
}
|