diff options
Diffstat (limited to 'ShellPkg/Library/UefiShellNetwork2CommandsLib')
-rw-r--r-- | ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c index 2cdf484..27713cf1 100644 --- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c +++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c @@ -1,7 +1,7 @@ /** @file
The implementation for Ping6 application.
- Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -50,7 +50,7 @@ typedef struct _PING6_PRIVATE_DATA { EFI_EVENT Timer;
UINT32 TimerPeriod;
- UINT32 RttTimerTick;
+ UINT32 RttTimerTick;
EFI_EVENT RttTimer;
EFI_STATUS Status;
@@ -199,7 +199,7 @@ Ping6InitRttTimer ( if (Private->TimerPeriod == 0) {
return EFI_ABORTED;
}
-
+
Private->RttTimerTick = 0;
Status = gBS->CreateEvent (
EVT_TIMER | EVT_NOTIFY_SIGNAL,
@@ -245,7 +245,7 @@ Ping6FreeRttTimer ( /**
Read the current time.
-
+
@param[in] Private The pointer to PING6_PRIVATE_DATA.
@retval the current tick value.
@@ -787,11 +787,11 @@ Ping6CreateIpInstance ( if (NetIp6IsUnspecifiedAddr (&Private->SrcAddress)) {
//
- // SrcAddress is unspecified. So, both connected and configured interface will be automatic selected.
+ // SrcAddress is unspecified. So, both connected and configured interface will be automatic selected.
//
UnspecifiedSrc = TRUE;
}
-
+
//
// Source address is required when pinging a link-local address.
//
@@ -800,7 +800,7 @@ Ping6CreateIpInstance ( Status = EFI_INVALID_PARAMETER;
goto ON_ERROR;
}
-
+
//
// For each ip6 protocol, check interface addresses list.
//
@@ -899,7 +899,7 @@ Ping6CreateIpInstance ( // Match a certain interface address.
//
break;
- }
+ }
}
if (AddrIndex < IfInfo->AddressInfoCount) {
|