diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:07:45 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | f97117bae7d0a6dd07ac47d0b085dbc6700b458d (patch) | |
tree | af56c1e49abcdf3c819f5e838aac65f973e586d7 /NetworkPkg/Dhcp6Dxe/Dhcp6Io.c | |
parent | c194ccca2613355f0f4506e7692bc55e2eaf6ff4 (diff) | |
download | edk2-f97117bae7d0a6dd07ac47d0b085dbc6700b458d.tar.gz edk2-f97117bae7d0a6dd07ac47d0b085dbc6700b458d.tar.bz2 edk2-f97117bae7d0a6dd07ac47d0b085dbc6700b458d.zip |
NetworkPkg/Dhcp6Dxe: 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-33-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/Dhcp6Dxe/Dhcp6Io.c')
-rw-r--r-- | NetworkPkg/Dhcp6Dxe/Dhcp6Io.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c b/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c index 613b42149c..c20876d5a5 100644 --- a/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c +++ b/NetworkPkg/Dhcp6Dxe/Dhcp6Io.c @@ -58,7 +58,7 @@ Dhcp6EnqueueRetry ( TxCb->Elapsed = Elapsed;
//
- // Calculate the retransmission according to the the message type.
+ // Calculate the retransmission according to the message type.
//
switch (Packet->Dhcp6.Header.MessageType) {
case Dhcp6MsgSolicit:
@@ -549,13 +549,13 @@ Dhcp6UpdateIaInfo ( ASSERT (Instance->Config != NULL);
//
- // If the reply was received in reponse to a solicit with rapid commit option,
+ // If the reply was received in response to a solicit with rapid commit option,
// request, renew or rebind message, the client updates the information it has
// recorded about IAs from the IA options contained in the reply message:
// 1. record the T1 and T2 times
// 2. add any new addresses in the IA
// 3. discard any addresses from the IA, that have a valid lifetime of 0
- // 4. update lifetimes for any addresses that alread recorded
+ // 4. update lifetimes for any addresses that already recorded
// 5. leave unchanged any information about addresses
//
// See details in the section-18.1.8 of rfc-3315.
@@ -942,7 +942,7 @@ Dhcp6SendSolicitMsg ( }
//
- // Create the Dhcp6 packet and initialize commone fields.
+ // Create the Dhcp6 packet and initialize common fields.
//
Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);
if (Packet == NULL) {
@@ -1124,7 +1124,7 @@ Dhcp6SendRequestMsg ( }
//
- // Create the Dhcp6 packet and initialize commone fields.
+ // Create the Dhcp6 packet and initialize common fields.
//
Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);
if (Packet == NULL) {
@@ -1282,7 +1282,7 @@ Dhcp6SendDeclineMsg ( ServerId = (EFI_DHCP6_DUID *) (Option + 2);
//
- // Create the Dhcp6 packet and initialize commone fields.
+ // Create the Dhcp6 packet and initialize common fields.
//
Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE);
if (Packet == NULL) {
@@ -1416,7 +1416,7 @@ Dhcp6SendReleaseMsg ( ServerId = (EFI_DHCP6_DUID *) (Option + 2);
//
- // Create the Dhcp6 packet and initialize commone fields.
+ // Create the Dhcp6 packet and initialize common fields.
//
Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE);
if (Packet == NULL) {
@@ -1547,7 +1547,7 @@ Dhcp6SendRenewRebindMsg ( }
//
- // Create the Dhcp6 packet and initialize commone fields.
+ // Create the Dhcp6 packet and initialize common fields.
//
Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);
if (Packet == NULL) {
@@ -1830,7 +1830,7 @@ Dhcp6SendInfoRequestMsg ( }
//
- // Create the Dhcp6 packet and initialize commone fields.
+ // Create the Dhcp6 packet and initialize common fields.
//
Packet = AllocateZeroPool (DHCP6_BASE_PACKET_SIZE + UserLen);
if (Packet == NULL) {
@@ -2150,7 +2150,7 @@ Dhcp6HandleReplyMsg ( Instance->UdpSts = EFI_SUCCESS;
//
- // For async, signal the Ia event to inform Ia infomation update.
+ // For async, signal the Ia event to inform Ia information update.
//
if (Instance->Config->IaInfoEvent != NULL) {
gBS->SignalEvent (Instance->Config->IaInfoEvent);
@@ -2213,14 +2213,14 @@ Dhcp6HandleReplyMsg ( //
// Maybe this is a new round DHCP process due to some reason, such as NotOnLink
- // ReplyMsg for ConfirmMsg should triger new round to acquire new address. In that
+ // ReplyMsg for ConfirmMsg should trigger new round to acquire new address. In that
// case, clear old address.ValidLifetime and append to new address. Therefore, DHCP
// consumers can be notified to flush old address.
//
Dhcp6AppendCacheIa (Instance);
//
- // For async, signal the Ia event to inform Ia infomation update.
+ // For async, signal the Ia event to inform Ia information update.
//
if (Instance->Config->IaInfoEvent != NULL) {
gBS->SignalEvent (Instance->Config->IaInfoEvent);
@@ -2431,7 +2431,7 @@ Dhcp6HandleAdvertiseMsg ( //
// If the client does receives a valid reply message that includes a rapid
- // commit option since a solicit with rapid commit optioin sent before, select
+ // commit option since a solicit with rapid commit option sent before, select
// this reply message. Or else, process the advertise messages as normal.
// See details in the section-17.1.4 of rfc-3315.
//
|