Mailinglist Archive: yast-commit (265 mails)
| < Previous | Next > |
[yast-commit] r67081 - /branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp
- From: jreidinger@xxxxxxxxxxxxxxxxx
- Date: Mon, 02 Jan 2012 17:04:17 -0000
- Message-id: <20120102170418.35D1A32521@svn2.opensuse.org>
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/network/src/modules/Lan.ycp?rev=67081&r1=67080&r2=67081&view=diff
==============================================================================
--- 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
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/network/src/modules/Lan.ycp?rev=67081&r1=67080&r2=67081&view=diff
==============================================================================
--- 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |