summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/DnsDxe
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-07 02:07:46 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit0d622d9c3d9b0f8ee83000959d44f8c066223352 (patch)
treecc5d5dc13a4aeb192666b80e9dbe9abb01dabd9f /NetworkPkg/DnsDxe
parentf97117bae7d0a6dd07ac47d0b085dbc6700b458d (diff)
downloadedk2-0d622d9c3d9b0f8ee83000959d44f8c066223352.tar.gz
edk2-0d622d9c3d9b0f8ee83000959d44f8c066223352.tar.bz2
edk2-0d622d9c3d9b0f8ee83000959d44f8c066223352.zip
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>
Diffstat (limited to 'NetworkPkg/DnsDxe')
-rw-r--r--NetworkPkg/DnsDxe/DnsImpl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/NetworkPkg/DnsDxe/DnsImpl.c b/NetworkPkg/DnsDxe/DnsImpl.c
index ca4ef506a0..4c232740be 100644
--- a/NetworkPkg/DnsDxe/DnsImpl.c
+++ b/NetworkPkg/DnsDxe/DnsImpl.c
@@ -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;