]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/DnsDxe/DnsImpl.c
NetworkPkg/DnsDxe: Fix a typo
[mirror_edk2.git] / NetworkPkg / DnsDxe / DnsImpl.c
index ca4ef506a08a88085a7a232de4e7d973e3d73c6b..4c232740be3f2467c015fd2f1502e537b0131ed4 100644 (file)
@@ -1179,7 +1179,7 @@ ParseDnsResponse (
   RemainingLength  = Length;\r
 \r
   //\r
-  // Check whether the remaining packet length is avaiable or not.\r
+  // Check whether the remaining packet length is available or not.\r
   //\r
   if (RemainingLength <= sizeof (DNS_HEADER)) {\r
     *Completed = FALSE;\r
@@ -1217,7 +1217,7 @@ ParseDnsResponse (
   QueryNameLen = (UINT32) AsciiStrLen (QueryName) + 1;\r
 \r
   //\r
-  // Check whether the remaining packet length is avaiable or not.\r
+  // Check whether the remaining packet length is available or not.\r
   //\r
   if (RemainingLength <= QueryNameLen + sizeof (DNS_QUERY_SECTION)) {\r
     *Completed = FALSE;\r
@@ -1376,7 +1376,7 @@ ParseDnsResponse (
   //\r
   while (AnswerSectionNum < DnsHeader->AnswersNum) {\r
     //\r
-    // Check whether the remaining packet length is avaiable or not.\r
+    // Check whether the remaining packet length is available or not.\r
     //\r
     if (RemainingLength <= sizeof (UINT16) + sizeof (DNS_ANSWER_SECTION)) {\r
       *Completed = FALSE;\r
@@ -1404,7 +1404,7 @@ ParseDnsResponse (
     AnswerSection->DataLength = NTOHS (AnswerSection->DataLength);\r
 \r
     //\r
-    // Check whether the remaining packet length is avaiable or not.\r
+    // Check whether the remaining packet length is available or not.\r
     //\r
     if (RemainingLength < AnswerSection->DataLength) {\r
       *Completed = FALSE;\r