[PATCH] Some improvements to the "bare" structure of ibft handling

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

 



---
 loader2/net.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/loader2/net.c b/loader2/net.c
index cb6785d..7c0d948 100644
--- a/loader2/net.c
+++ b/loader2/net.c
@@ -2134,12 +2134,16 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) {
 
 
 
-    if ((loaderData->netDev && (loaderData->netDev_set == 1)) &&
+    while((loaderData->netDev && (loaderData->netDev_set == 1)) &&
 	!strcmp(loaderData->netDev, "ibft")){
         char *devmacaddr = NULL;
 	char *ibftmacaddr = "";
 	
 	/* TODO get MAC from the iBFT table */
+	if(0){ /* TODO iBFT not present or error */
+	    /* lookForLink = 0; is the w/o iBFT default link or ask? */
+	    break;
+	}
 
         logMessage(INFO, "looking for iBFT configured device with link");
 	lookForLink = 1;
@@ -2162,6 +2166,8 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) {
 		free(devmacaddr);
 	    }
 	}
+
+	break;
     }
 
     if ((loaderData->netDev && (loaderData->netDev_set == 1)) &&
-- 
1.5.4.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