NetworkPkg/DnsDxe: Fix a typo

Fix the same typo in various comments.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-34-philmd@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2020-02-07 02:07:46 +01:00 committed by mergify[bot]
parent f97117bae7
commit 0d622d9c3d
1 changed files with 4 additions and 4 deletions

View File

@ -1179,7 +1179,7 @@ ParseDnsResponse (
RemainingLength = Length;
//
// Check whether the remaining packet length is avaiable or not.
// Check whether the remaining packet length is available or not.
//
if (RemainingLength <= sizeof (DNS_HEADER)) {
*Completed = FALSE;
@ -1217,7 +1217,7 @@ ParseDnsResponse (
QueryNameLen = (UINT32) AsciiStrLen (QueryName) + 1;
//
// Check whether the remaining packet length is avaiable or not.
// Check whether the remaining packet length is available or not.
//
if (RemainingLength <= QueryNameLen + sizeof (DNS_QUERY_SECTION)) {
*Completed = FALSE;
@ -1376,7 +1376,7 @@ ParseDnsResponse (
//
while (AnswerSectionNum < DnsHeader->AnswersNum) {
//
// Check whether the remaining packet length is avaiable or not.
// Check whether the remaining packet length is available or not.
//
if (RemainingLength <= sizeof (UINT16) + sizeof (DNS_ANSWER_SECTION)) {
*Completed = FALSE;
@ -1404,7 +1404,7 @@ ParseDnsResponse (
AnswerSection->DataLength = NTOHS (AnswerSection->DataLength);
//
// Check whether the remaining packet length is avaiable or not.
// Check whether the remaining packet length is available or not.
//
if (RemainingLength < AnswerSection->DataLength) {
*Completed = FALSE;