]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpBootDxe/HttpBootComponentName.c
NetworkPkg:Enable Http Boot over Ipv6 stack
[mirror_edk2.git] / NetworkPkg / HttpBootDxe / HttpBootComponentName.c
index 0708598c4faf48592d39c73b133fbb8dfd2a60d5..2c39089da3f7bb8912649798a07f2a1c2045918f 100644 (file)
@@ -151,7 +151,10 @@ HttpBootDxeComponentNameGetControllerName (
   \r
   NicHandle = HttpBootGetNicByIp4Children (ControllerHandle);\r
   if (NicHandle == NULL) {\r
-    return EFI_UNSUPPORTED;\r
+    NicHandle = HttpBootGetNicByIp6Children(ControllerHandle);\r
+    if (NicHandle == NULL) {\r
+      return EFI_UNSUPPORTED;\r
+    }\r
   }\r
 \r
   //\r