Re: [PATCH 2/2] Propagate MACADDR from loaderData to iface (#595388)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack, thanks.

On 07/20/2010 11:07 PM, David Cantrell wrote:
> Make sure the MACADDR value gets propagated to the iface struct so that
> writeNetInfo() will succeed on s390 hosts.
> ---
>  loader/net.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/loader/net.c b/loader/net.c
> index 0a15224..eb324e0 100644
> --- a/loader/net.c
> +++ b/loader/net.c
> @@ -433,6 +433,10 @@ void setupIfaceStruct(iface_t * iface, struct loaderData_s * loaderData) {
> 
>      iface->dhcptimeout = loaderData->dhcpTimeout;
> 
> +    if (loaderData->macaddr) {
> +        iface->macaddr = strdup(loaderData->macaddr);
> +    }
> +
>      return;
>  }
> 

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux