Author: kmachalkova Date: Fri Jan 16 10:51:16 2009 New Revision: 54676 URL: http://svn.opensuse.org/viewcvs/yast?rev=54676&view=rev Log: Do not reset default gw if the interface has been switched to 'No IP address' mode (L3 - #460262) Modified: branches/SuSE-SLE-10-SP3-Branch/network/package/yast2-network.changes branches/SuSE-SLE-10-SP3-Branch/network/src/lan/address.ycp Modified: branches/SuSE-SLE-10-SP3-Branch/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP3-Branch/network/package/yast2-network.changes?rev=54676&r1=54675&r2=54676&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP3-Branch/network/package/yast2-network.changes (original) +++ branches/SuSE-SLE-10-SP3-Branch/network/package/yast2-network.changes Fri Jan 16 10:51:16 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jan 12 17:23:38 CET 2009 - kmachalkova@suse.cz + +- Do not reset default gw if the interface is set to 'No IP address' + mode ( reset iff it is set to DHCP - bnc#460262) + +------------------------------------------------------------------- Mon Aug 18 11:27:26 CEST 2008 - mzugec@suse.de - L3: allow configured bonding device inside bridge (bnc#405343) Modified: branches/SuSE-SLE-10-SP3-Branch/network/src/lan/address.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP3-Branch/network/src/lan/address.ycp?rev=54676&r1=54675&r2=54676&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP3-Branch/network/src/lan/address.ycp (original) +++ branches/SuSE-SLE-10-SP3-Branch/network/src/lan/address.ycp Fri Jan 16 10:51:16 2009 @@ -1171,8 +1171,11 @@ Lan::ipaddr = ""; Lan::netmask = ""; Lan::remoteip = ""; - // fixed bug #73739 - if dhcp is used, dont set default gw statically - Routing::RemoveDefaultGw(); + + // fixed bug #73739 - if dhcp is used, don't set default gw statically + // but reset it if and only if DHCP will be used to supply it - #460262 + if( Lan::bootproto == "dhcp") + Routing::RemoveDefaultGw(); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org