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
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
//\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
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