/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-existing_hwaddr.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-existing_hwaddr.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Mar 16 22:21:19 2013 UTC (11 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-base-5_2_0-80_el5_sme, e-smith-base-5_2_0-85_el5_sme, e-smith-base-5_2_0-86_el5_sme, e-smith-base-5_2_0-83_el5_sme, e-smith-base-5_2_0-84_el5_sme, e-smith-base-5_2_0-78_el5_sme, e-smith-base-5_2_0-88_el5_sme, e-smith-base-5_2_0-81_el5_sme, e-smith-base-5_2_0-82_el5_sme, e-smith-base-5_2_0-75_el5_sme, e-smith-base-5_2_0-76_el5_sme, e-smith-base-5_2_0-89_el5_sme, e-smith-base-5_2_0-77_el5_sme, e-smith-base-5_2_0-79_el5_sme, e-smith-base-5_2_0-90_el5_sme, e-smith-base-5_2_0-74_el5_sme, e-smith-base-5_2_0-87_el5_sme
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 5.2.0-74.sme
- Ensure existing_hwaddr is always initialized [SME: 6087]

1 diff -ruN e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/configure.pm e-smith-base-5.2.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm
2 --- e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/console/configure.pm 2013-03-15 07:41:52.000000000 -0700
3 +++ e-smith-base-5.2.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2013-03-15 07:44:24.000000000 -0700
4 @@ -79,6 +79,8 @@
5 $existing_hwaddr = $db->get_prop("InternalInterface", "HWAddress");
6 }
7
8 + $existing_hwaddr ||= "unknown";
9 +
10 foreach my $adapter ( @adapters )
11 {
12 my ($parameter, $driver, $hwaddr, $chipset) = split (/\t/, $adapter, 4);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed