Author: mzugec Date: Wed Oct 27 13:58:42 2010 New Revision: 62694 URL: http://svn.opensuse.org/viewcvs/yast?rev=62694&view=rev Log: AY: when no network profile, don't change network configuration (bnc#649494) Modified: branches/SuSE-Code-11-SP1-Branch/network/VERSION branches/SuSE-Code-11-SP1-Branch/network/package/yast2-network.changes branches/SuSE-Code-11-SP1-Branch/network/src/modules/Routing.ycp Modified: branches/SuSE-Code-11-SP1-Branch/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/network/VERSION?rev=62694&r1=62693&r2=62694&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/network/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/network/VERSION Wed Oct 27 13:58:42 2010 @@ -1 +1 @@ -2.17.142 +2.17.143 Modified: branches/SuSE-Code-11-SP1-Branch/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/network/package/yast2-network.changes?rev=62694&r1=62693&r2=62694&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/network/package/yast2-network.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/network/package/yast2-network.changes Wed Oct 27 13:58:42 2010 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Oct 27 13:28:04 CEST 2010 - mzugec@suse.cz + +- AY: when no network profile, don't change network configuration +(bnc#649494) +- 2.17.143 + +------------------------------------------------------------------- Thu Oct 21 15:41:33 CEST 2010 - mzugec@suse.cz - L3: setup kernel module options (bnc#645389) Modified: branches/SuSE-Code-11-SP1-Branch/network/src/modules/Routing.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/network/src/modules/Routing.ycp?rev=62694&r1=62693&r2=62694&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/network/src/modules/Routing.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/network/src/modules/Routing.ycp Wed Oct 27 13:58:42 2010 @@ -30,6 +30,8 @@ */ global list<map> Routes = []; +// modified by AY (bnc#649494) +boolean modified = nil; /** * Enable IP forwarding * .sysconfig.sysctl.IP_FORWARD @@ -58,6 +60,8 @@ */ global define boolean Modified() { boolean ret = (Routes != Orig_Routes || Forward != Orig_Forward); + // probably called without Read() (bnc#649494) + if (Orig_Routes==nil && Orig_Forward==nil && modified!=true) ret = false; y2debug("ret=%1", ret); return ret; } @@ -226,6 +230,8 @@ Orig_Routes = nil; Orig_Forward = nil; + modified=true; + return true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org