You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
631 B
18 lines
631 B
6 years ago
|
---
|
||
|
libmultipath/discovery.c | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
Index: multipath-tools-130222/libmultipath/discovery.c
|
||
|
===================================================================
|
||
|
--- multipath-tools-130222.orig/libmultipath/discovery.c
|
||
|
+++ multipath-tools-130222/libmultipath/discovery.c
|
||
|
@@ -280,6 +280,8 @@ sysfs_get_tgt_nodename (struct path *pp,
|
||
|
const char *value;
|
||
|
|
||
|
value = udev_device_get_sysattr_value(tgtdev, "tgtname");
|
||
|
+ if (!value)
|
||
|
+ value = udev_device_get_sysattr_value(tgtdev, "targetname");
|
||
|
if (value) {
|
||
|
pp->sg_id.proto_id = SCSI_PROTOCOL_ISCSI;
|
||
|
pp->sg_id.transport_id = tgtid;
|