Skip to content
Permalink
Browse files

Merge pull request #15 from gabi2/Code-11-SP2

fix detection of persistent portal (bnc#856494)
  • Loading branch information...
gabi2 committed Jan 23, 2014
2 parents 860ce97 + f5d8544 commit b291661d9e8cd223949ccee55c87bb3f91197431
Showing with 8 additions and 1 deletion.
  1. +5 −0 package/yast2-iscsi-client.changes
  2. +3 −1 src/IscsiClientLib.ycp
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 16 14:11:11 CET 2014 - gs@suse.de

- fix detection of persistent portal (bnc#856494)

-------------------------------------------------------------------
Wed Mar 21 11:48:21 CET 2012 - fehr@suse.de

@@ -262,7 +262,9 @@ global list<string> ScanDiscovered( list<string> data )
{
if( search(row,"Current Portal:")!=nil )
portal = splitstring(row, " ")[2]:"";
else if( search(row,"Persistent Portal:")==nil )
else if( search(row,"Persistent Portal:")!=nil )
portal = splitstring(row, " ")[2]:"";
else
portal = splitstring(row, " ")[1]:"";
integer pos = search(portal,",");
if( pos != nil )

0 comments on commit b291661

Please sign in to comment.
You can’t perform that action at this time.