From 3f6e04a31e2583b3faf05db7d130d69f5a43ac87 Mon Sep 17 00:00:00 2001 From: Thomas Fehr Date: Thu, 3 May 2012 11:10:54 +0000 Subject: [PATCH] - 2.21.10 - fix parsing of iscsiadm output in IscsiClientLib.ycp (bnc#725182) svn path=/branches/SuSE-Linux-12_1-Branch/iscsi-client/; revision=68075 --- VERSION | 2 +- package/yast2-iscsi-client.changes | 6 ++++++ src/IscsiClientLib.ycp | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 3006803..864879b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.21.9 +2.21.10 diff --git a/package/yast2-iscsi-client.changes b/package/yast2-iscsi-client.changes index 4258cfd..bba8bcb 100644 --- a/package/yast2-iscsi-client.changes +++ b/package/yast2-iscsi-client.changes @@ -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 diff --git a/src/IscsiClientLib.ycp b/src/IscsiClientLib.ycp index 5659e76..d563418 100644 --- a/src/IscsiClientLib.ycp +++ b/src/IscsiClientLib.ycp @@ -255,7 +255,7 @@ global list ScanDiscovered( list 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 )