Mailinglist Archive: yast-commit (396 mails)
| < Previous | Next > |
[yast-commit] r65481 - /trunk/network/src/lan/YaPI/NETWORK.pm
- From: mvidner@xxxxxxxxxxxxxxxxx
- Date: Wed, 31 Aug 2011 14:50:46 -0000
- Message-id: <20110831145048.214E732BFC@svn2.opensuse.org>
Author: mvidner
Date: Wed Aug 31 16:50:45 2011
New Revision: 65481
URL: http://svn.opensuse.org/viewcvs/yast?rev=65481&view=rev
Log:
YaPI::NETWORK::Write: provide sensible default for BOOTPROTO.
Author: Justus Winter <winter@xxxxxxxxxxxx>
Modified:
trunk/network/src/lan/YaPI/NETWORK.pm
Modified: trunk/network/src/lan/YaPI/NETWORK.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/YaPI/NETWORK.pm?rev=65481&r1=65480&r2=65481&view=diff
==============================================================================
--- trunk/network/src/lan/YaPI/NETWORK.pm (original)
+++ trunk/network/src/lan/YaPI/NETWORK.pm Wed Aug 31 16:50:45 2011
@@ -153,7 +153,7 @@
}
$ip = $ip_row[0]."/".$prefix;
my %config=("STARTMODE" => "auto",
- "BOOTPROTO" => $ifc->{'bootproto'},
+ "BOOTPROTO" => defined $ifc->{'bootproto'}?
$ifc->{'bootproto'}: 'static',
"IPADDR" => $ip
);
if (defined $ifc->{'mtu'}) {
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Wed Aug 31 16:50:45 2011
New Revision: 65481
URL: http://svn.opensuse.org/viewcvs/yast?rev=65481&view=rev
Log:
YaPI::NETWORK::Write: provide sensible default for BOOTPROTO.
Author: Justus Winter <winter@xxxxxxxxxxxx>
Modified:
trunk/network/src/lan/YaPI/NETWORK.pm
Modified: trunk/network/src/lan/YaPI/NETWORK.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/YaPI/NETWORK.pm?rev=65481&r1=65480&r2=65481&view=diff
==============================================================================
--- trunk/network/src/lan/YaPI/NETWORK.pm (original)
+++ trunk/network/src/lan/YaPI/NETWORK.pm Wed Aug 31 16:50:45 2011
@@ -153,7 +153,7 @@
}
$ip = $ip_row[0]."/".$prefix;
my %config=("STARTMODE" => "auto",
- "BOOTPROTO" => $ifc->{'bootproto'},
+ "BOOTPROTO" => defined $ifc->{'bootproto'}?
$ifc->{'bootproto'}: 'static',
"IPADDR" => $ip
);
if (defined $ifc->{'mtu'}) {
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |