]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpBootDxe/HttpBootDhcp4.c
NetworkPkg:Enable Http Boot over Ipv6 stack
[mirror_edk2.git] / NetworkPkg / HttpBootDxe / HttpBootDhcp4.c
index 217c60823370d2e6c93f9de244bc815d8682a10e..9a947a6ea63ca1ac36aa671c8c47ee922e0da74f 100644 (file)
@@ -319,7 +319,7 @@ HttpBootParseDhcp4Packet (
   }\r
 \r
   //\r
-  // The offer with "HttpClient" is a Http offer.\r
+  // The offer with "HTTPClient" is a Http offer.\r
   //\r
   Option = Options[HTTP_BOOT_DHCP4_TAG_INDEX_CLASS_ID];\r
   if ((Option != NULL) && (Option->Length >= 9) &&\r
@@ -461,13 +461,13 @@ HttpBootCacheDhcp4Offer (
 }\r
 \r
 /**\r
-  Select an DHCPv4 offer, and record SelectIndex and SelectProxyType.\r
+  Select an DHCPv4 or DHCP6 offer, and record SelectIndex and SelectProxyType.\r
 \r
   @param[in]  Private             Pointer to HTTP boot driver private data.\r
 \r
 **/\r
 VOID\r
-HttpBootSelectDhcp4Offer (\r
+HttpBootSelectDhcpOffer (\r
   IN HTTP_BOOT_PRIVATE_DATA  *Private\r
   )\r
 {\r
@@ -590,7 +590,7 @@ HttpBootDhcp4CallBack (
     // Select offer according to the priority in UEFI spec, and record the SelectIndex \r
     // and SelectProxyType.\r
     //\r
-    HttpBootSelectDhcp4Offer (Private);\r
+    HttpBootSelectDhcpOffer (Private);\r
 \r
     if (Private->SelectIndex == 0) {\r
       Status = EFI_ABORTED;\r
@@ -689,7 +689,7 @@ HttpBootRegisterIp4Dns (
 \r
 **/\r
 EFI_STATUS\r
-HttpBootSetIpPolicy (\r
+HttpBootSetIp4Policy (\r
   IN HTTP_BOOT_PRIVATE_DATA         *Private\r
   )\r
 {\r
@@ -752,7 +752,7 @@ HttpBootDhcp4Dora (
   Dhcp4 = Private->Dhcp4;\r
   ASSERT (Dhcp4 != NULL);\r
 \r
-  Status = HttpBootSetIpPolicy (Private);\r
+  Status = HttpBootSetIp4Policy (Private);\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r