Skip to content

Commit

Permalink
- 2.21.10
Browse files Browse the repository at this point in the history
- fix parsing of iscsiadm output in IscsiClientLib.ycp (bnc#725182)

svn path=/branches/SuSE-Linux-12_1-Branch/iscsi-client/; revision=68075
  • Loading branch information
Thomas Fehr committed May 3, 2012
1 parent e625e21 commit 3f6e04a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.21.9
2.21.10
6 changes: 6 additions & 0 deletions package/yast2-iscsi-client.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 6 18:22:15 UTC 2011 - per@opensuse.org

- 2.21.10
- fix parsing of iscsiadm output in IscsiClientLib.ycp (bnc#725182)

-------------------------------------------------------------------
Thu Nov 3 13:06:10 CET 2011 - fehr@suse.de

Expand Down
2 changes: 1 addition & 1 deletion src/IscsiClientLib.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ global list<string> ScanDiscovered( list<string> data )
string iface = "";
foreach( string row, data,
{
row = deletechars(row,"\t");
row = substring(row,findfirstnotof(row,"\t "),999);
if( search(row,"Target:")!=nil )
target = splitstring(row, " ")[1]:"";
else if( search(row,"Portal:")!=nil )
Expand Down

0 comments on commit 3f6e04a

Please sign in to comment.