Mailinglist Archive: yast-commit (98 mails)

< Previous Next >
[yast-commit] r67060 - in /trunk/iscsi-client: package/yast2-iscsi-client.changes src/IscsiClientLib.ycp
Author: fehr
Date: Wed Dec 21 15:45:34 2011
New Revision: 67060

URL: http://svn.opensuse.org/viewcvs/yast?rev=67060&view=rev
Log:
fix parsing of iscsiadm output in IscsiClientLib.ycp (bnc#725182)

Modified:
trunk/iscsi-client/package/yast2-iscsi-client.changes
trunk/iscsi-client/src/IscsiClientLib.ycp

Modified: trunk/iscsi-client/package/yast2-iscsi-client.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-client/package/yast2-iscsi-client.changes?rev=67060&r1=67059&r2=67060&view=diff
==============================================================================
--- trunk/iscsi-client/package/yast2-iscsi-client.changes (original)
+++ trunk/iscsi-client/package/yast2-iscsi-client.changes Wed Dec 21 15:45:34
2011
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Tue Dec 6 18:22:15 UTC 2011 - per@xxxxxxxxxxxx
+
+- fix parsing of iscsiadm output in IscsiClientLib.ycp (bnc#725182)
+
+-------------------------------------------------------------------
Thu Nov 3 13:06:10 CET 2011 - fehr@xxxxxxx

- 2.21.9

Modified: trunk/iscsi-client/src/IscsiClientLib.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-client/src/IscsiClientLib.ycp?rev=67060&r1=67059&r2=67060&view=diff
==============================================================================
--- trunk/iscsi-client/src/IscsiClientLib.ycp (original)
+++ trunk/iscsi-client/src/IscsiClientLib.ycp Wed Dec 21 15:45:34 2011
@@ -255,7 +255,7 @@
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 )

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages