Re: [PATCH] Fix the debug message for iBFT DHCP mode

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

 





Martin Sivak wrote:
---
 loader/net.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Looks good.

Regards,

Hans

diff --git a/loader/net.c b/loader/net.c
index e59c68e..e43b88c 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -247,7 +247,7 @@ void setupIfaceStruct(iface_t * iface, struct loaderData_s * loaderData) {
 	    /* Problems with getting the info from iBFT or iBFT uses dhcp*/
 	    if(!devmacaddr || !ibft_present()){
 		iface->ipv4method = IPV4_DHCP_METHOD;
-		logMessage(INFO, "iBFT is not present or is configured to use DHCP");
+		logMessage(INFO, "iBFT is not present");
 	    }
 	    /* MAC address doesn't match */
 	    else if(strcasecmp(ibft_iface_mac(), devmacaddr)){
@@ -256,6 +256,7 @@ void setupIfaceStruct(iface_t * iface, struct loaderData_s * loaderData) {
 	    }
 	    else if(ibft_iface_dhcp()){
 		iface->ipv4method = IPV4_IBFT_DHCP_METHOD;
+		logMessage(INFO, "iBFT is configured to use DHCP");
 	    }
 	    if(devmacaddr) free(devmacaddr);
 	}

_______________________________________________
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