Fix iscsiadm handling of port argument when it is not the default iscsi
value of 3260 (take 2)
This commit is contained in:
parent
89d3b21491
commit
8d34f593cd
@ -7,7 +7,7 @@ index 2d9f1a2..87dd4a0 100644
|
||||
}
|
||||
|
||||
- if (mode != MODE_DISCOVERY && ip)
|
||||
+ if (mode != MODE_DISCOVERY && ip && port != -1)
|
||||
+ if (mode != MODE_DISCOVERY && ip && port == -1)
|
||||
port = ISCSI_LISTEN_PORT;
|
||||
|
||||
switch (mode) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
Summary: iSCSI daemon and utility programs
|
||||
Name: iscsi-initiator-utils
|
||||
Version: 6.2.0.872
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Source0: http://people.redhat.com/mchristi/iscsi/rhel6.0/source/open-iscsi-2.0-872-rc1-bnx2i.tar.gz
|
||||
Source1: iscsid.init
|
||||
Source2: iscsidevs.init
|
||||
@ -181,6 +181,9 @@ fi
|
||||
%{_includedir}/libiscsi.h
|
||||
|
||||
%changelog
|
||||
* Thu Jun 10 2010 Mike Christie <mchristi@redhat.com> 6.2.0.872.6
|
||||
- Fix last patch.
|
||||
|
||||
* Wed Jun 9 2010 Mike Christie <mchristi@redhat.com> 6.2.0.872.5
|
||||
- Fix iscsiadm handling of port argument when it is not the default 3260.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user