summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Ip6Dxe/Ip6Nd.c
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:07:53 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit7de8045a092ff80abcba541367709d1a309c2961 (patch)
tree7d5b2d224a57de2042251728ebeef040329ee78a /NetworkPkg/Ip6Dxe/Ip6Nd.c
parent6c585b52e52871e52fcf71748534e8a27a308431 (diff)
downloadedk2-7de8045a092ff80abcba541367709d1a309c2961.tar.gz
edk2-7de8045a092ff80abcba541367709d1a309c2961.tar.bz2
edk2-7de8045a092ff80abcba541367709d1a309c2961.zip
NetworkPkg/Ip6Dxe: Fix various typos
Fix various typos in comments and documentation. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-41-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/Ip6Dxe/Ip6Nd.c')
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Nd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6Nd.c b/NetworkPkg/Ip6Dxe/Ip6Nd.c
index 67d7022a76..4288ef02dd 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Nd.c
+++ b/NetworkPkg/Ip6Dxe/Ip6Nd.c
@@ -1645,7 +1645,7 @@ Ip6ProcessNeighborSolicit (
//
// Sends a Neighbor Advertisement as response.
// Set the Router flag to zero since the node is a host.
- // If the source address of the solicitation is unspeicifed, and target address
+ // If the source address of the solicitation is unspecified, and target address
// is one of the maintained address, reply a unsolicited multicast advertisement.
//
if (IsDAD && IsMaintained) {
@@ -2087,7 +2087,7 @@ Ip6ProcessRouterAdvertise (
}
//
- // If an valid router advertisment is received, stops router solicitation.
+ // If an valid router advertisement is received, stops router solicitation.
//
IpSb->RouterAdvertiseReceived = TRUE;
@@ -2251,7 +2251,7 @@ Ip6ProcessRouterAdvertise (
//
if (!Ip6IsOneOfSetAddress (IpSb, &StatelessAddress, NULL, NULL)) {
//
- // And also not in the DAD process, check its uniqeness firstly.
+ // And also not in the DAD process, check its uniqueness firstly.
//
if (Ip6FindDADEntry (IpSb, &StatelessAddress, NULL) == NULL) {
Status = Ip6SetAddress (
@@ -2303,7 +2303,7 @@ Ip6ProcessRouterAdvertise (
} else if (PrefixList->ValidLifetime <= 7200) {
//
- // If RemainingLifetime is less than or equls to 2 hours, ignore the
+ // If RemainingLifetime is less than or equals to 2 hours, ignore the
// Prefix Information option with regards to the valid lifetime.
// TODO: If this option has been authenticated, set the valid lifetime.
//
@@ -2365,7 +2365,7 @@ Exit:
the IP head removed.
@retval EFI_INVALID_PARAMETER The parameter is invalid.
- @retval EFI_OUT_OF_RESOURCES Insuffcient resources to complete the
+ @retval EFI_OUT_OF_RESOURCES Insufficient resources to complete the
operation.
@retval EFI_SUCCESS Successfully updated the route caches.
@@ -3069,7 +3069,7 @@ Ip6NdFasterTimerTicking (
/**
The heartbeat timer of ND module in 1 second. This time routine handles following
- things: 1) maitain default router list; 2) maintain prefix options;
+ things: 1) maintain default router list; 2) maintain prefix options;
3) maintain route caches.
@param[in] IpSb The IP6 service binding instance.