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

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

 



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;
 }
 
-- 
1.7.1.1

_______________________________________________
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