Author: fehr Date: Thu Jan 12 11:33:58 2012 New Revision: 67153 URL: http://svn.opensuse.org/viewcvs/yast?rev=67153&view=rev Log: remove portal group from target portal (bnc#738037) 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=67153&r1=67152&r2=67153&view=diff ============================================================================== --- trunk/iscsi-client/package/yast2-iscsi-client.changes (original) +++ trunk/iscsi-client/package/yast2-iscsi-client.changes Thu Jan 12 11:33:58 2012 @@ -1,5 +1,10 @@ ------------------------------------------------------------------- -Tue Dec 6 18:22:15 UTC 2011 - per@opensuse.org +Thu Jan 12 11:28:17 CET 2012 - fehr@suse.de + +- remove portal group from target portal (bnc#738037) + +------------------------------------------------------------------- +Tue Dec 6 18:22:15 UTC 2011 - per@opensuse.org - fix parsing of iscsiadm output in IscsiClientLib.ycp (bnc#725182) Modified: trunk/iscsi-client/src/IscsiClientLib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-client/src/IscsiClientLib.ycp?rev=67153&r1=67152&r2=67153&view=diff ============================================================================== --- trunk/iscsi-client/src/IscsiClientLib.ycp (original) +++ trunk/iscsi-client/src/IscsiClientLib.ycp Thu Jan 12 11:33:58 2012 @@ -264,6 +264,9 @@ portal = splitstring(row, " ")[2]:""; else if( search(row,"Persistent Portal:")==nil ) portal = splitstring(row, " ")[1]:""; + integer pos = search(portal,","); + if( pos != nil ) + portal = substring( portal, 0, pos ); } else if( search(row,"Iface Name:")!=nil ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org