[yast-commit] r67081 - /branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp
Author: jreidinger Date: Mon Jan 2 18:04:17 2012 New Revision: 67081 URL: http://svn.opensuse.org/viewcvs/yast?rev=67081&view=rev Log: do not inherid old prefixlen as we set new one (bnc#735109) Modified: branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp Modified: branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/networ... ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp Mon Jan 2 18:04:17 2012 @@ -947,6 +947,8 @@ foreach (string a, any v, (map <string, any>)NetworkInterfaces::Current["_aliases"]:$[], { if (v != nil) { NetworkInterfaces::DeleteAlias (NetworkInterfaces::Name, a); } }); + //take out PREFIXLEN from old configuration (BNC#735109) + old_config["PREFIXLEN"="" old_config["_aliases"]=$[]; y2milestone("Old Config with apllied changes %1\n%2", ifcfg, old_config); NetworkInterfaces::Current = old_config; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jreidinger@svn2.opensuse.org