[PATCH] Do not write OPTIONS=layer2=1 on all architectures (#577005).

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

 



OPTIONS=layer2=1 is just for s390x, so make sure it doesn't end up on
other architectures.
---
 loader/net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/net.c b/loader/net.c
index a987050..eff4782 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1200,7 +1200,7 @@ int writeDisabledNetInfo(void) {
  *     /etc/sysconfig/network
  */
 int writeEnabledNetInfo(iface_t *iface) {
-    int i = 0, osa_layer2 = 1, osa_portno = 0;
+    int i = 0, osa_layer2 = 0, osa_portno = 0;
     mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
     FILE *fp = NULL;
     char buf[INET6_ADDRSTRLEN+1];
-- 
1.6.6.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