]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Dhcp6Dxe/Dhcp6Io.c
NetworkPkg/Dhcp6Dxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / Dhcp6Dxe / Dhcp6Io.c
index 613b42149cc18da3191428e12f6866796bbf47a6..c20876d5a5d32fa550e7b3981033a55faf7a9706 100644 (file)
@@ -58,7 +58,7 @@ Dhcp6EnqueueRetry (
   TxCb->Elapsed  = Elapsed;\r
 \r
   //\r
-  // Calculate the retransmission according to the the message type.\r
+  // Calculate the retransmission according to the message type.\r
   //\r
   switch (Packet->Dhcp6.Header.MessageType) {\r
   case Dhcp6MsgSolicit:\r
@@ -549,13 +549,13 @@ Dhcp6UpdateIaInfo (
 \r
   ASSERT (Instance->Config != NULL);\r
   //\r
-  // If the reply was received in reponse to a solicit with rapid commit option,\r
+  // If the reply was received in response to a solicit with rapid commit option,\r
   // request, renew or rebind message, the client updates the information it has\r
   // recorded about IAs from the IA options contained in the reply message:\r
   //   1. record the T1 and T2 times\r
   //   2. add any new addresses in the IA\r
   //   3. discard any addresses from the IA, that have a valid lifetime of 0\r
-  //   4. update lifetimes for any addresses that alread recorded\r
+  //   4. update lifetimes for any addresses that already recorded\r
   //   5. leave unchanged any information about addresses\r
   //\r
   // See details in the section-18.1.8 of rfc-3315.\r
@@ -942,7 +942,7 @@ Dhcp6SendSolicitMsg   (
   }\r
 \r
   //\r
-  // Create the Dhcp6 packet and initialize commone fields.\r
+  // Create the Dhcp6 packet and initialize common fields.\r
   //\r
   Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);\r
   if (Packet == NULL) {\r
@@ -1124,7 +1124,7 @@ Dhcp6SendRequestMsg (
   }\r
 \r
   //\r
-  // Create the Dhcp6 packet and initialize commone fields.\r
+  // Create the Dhcp6 packet and initialize common fields.\r
   //\r
   Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);\r
   if (Packet == NULL) {\r
@@ -1282,7 +1282,7 @@ Dhcp6SendDeclineMsg (
   ServerId = (EFI_DHCP6_DUID *) (Option + 2);\r
 \r
   //\r
-  // Create the Dhcp6 packet and initialize commone fields.\r
+  // Create the Dhcp6 packet and initialize common fields.\r
   //\r
   Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE);\r
   if (Packet == NULL) {\r
@@ -1416,7 +1416,7 @@ Dhcp6SendReleaseMsg (
   ServerId = (EFI_DHCP6_DUID *) (Option + 2);\r
 \r
   //\r
-  // Create the Dhcp6 packet and initialize commone fields.\r
+  // Create the Dhcp6 packet and initialize common fields.\r
   //\r
   Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE);\r
   if (Packet == NULL) {\r
@@ -1547,7 +1547,7 @@ Dhcp6SendRenewRebindMsg (
   }\r
 \r
   //\r
-  // Create the Dhcp6 packet and initialize commone fields.\r
+  // Create the Dhcp6 packet and initialize common fields.\r
   //\r
   Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);\r
   if (Packet == NULL) {\r
@@ -1830,7 +1830,7 @@ Dhcp6SendInfoRequestMsg (
   }\r
 \r
   //\r
-  // Create the Dhcp6 packet and initialize commone fields.\r
+  // Create the Dhcp6 packet and initialize common fields.\r
   //\r
   Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);\r
   if (Packet == NULL) {\r
@@ -2150,7 +2150,7 @@ Dhcp6HandleReplyMsg (
     Instance->UdpSts = EFI_SUCCESS;\r
 \r
     //\r
-    // For async, signal the Ia event to inform Ia infomation update.\r
+    // For async, signal the Ia event to inform Ia information update.\r
     //\r
     if (Instance->Config->IaInfoEvent != NULL) {\r
       gBS->SignalEvent (Instance->Config->IaInfoEvent);\r
@@ -2213,14 +2213,14 @@ Dhcp6HandleReplyMsg (
 \r
       //\r
       // Maybe this is a new round DHCP process due to some reason, such as NotOnLink\r
-      // ReplyMsg for ConfirmMsg should triger new round to acquire new address. In that\r
+      // ReplyMsg for ConfirmMsg should trigger new round to acquire new address. In that\r
       // case, clear old address.ValidLifetime and append to new address. Therefore, DHCP\r
       // consumers can be notified to flush old address.\r
       //\r
       Dhcp6AppendCacheIa (Instance);\r
 \r
       //\r
-      // For async, signal the Ia event to inform Ia infomation update.\r
+      // For async, signal the Ia event to inform Ia information update.\r
       //\r
       if (Instance->Config->IaInfoEvent != NULL) {\r
         gBS->SignalEvent (Instance->Config->IaInfoEvent);\r
@@ -2431,7 +2431,7 @@ Dhcp6HandleAdvertiseMsg (
 \r
   //\r
   // If the client does receives a valid reply message that includes a rapid\r
-  // commit option since a solicit with rapid commit optioin sent before, select\r
+  // commit option since a solicit with rapid commit option sent before, select\r
   // this reply message. Or else, process the advertise messages as normal.\r
   // See details in the section-17.1.4 of rfc-3315.\r
   //\r