diff options
Diffstat (limited to 'NetworkPkg/Application/Ping6')
-rw-r--r-- | NetworkPkg/Application/Ping6/Ping6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Application/Ping6/Ping6.c b/NetworkPkg/Application/Ping6/Ping6.c index b783c5a027..b86ee18ae5 100644 --- a/NetworkPkg/Application/Ping6/Ping6.c +++ b/NetworkPkg/Application/Ping6/Ping6.c @@ -1136,7 +1136,7 @@ InitializePing6 ( //
// Parse the paramter of destination ip address.
//
- NonOptionCount = ShellCommandLineGetCount();
+ NonOptionCount = ShellCommandLineGetCount(ParamPackage);
ValueStr = ShellCommandLineGetRawValue (ParamPackage, (UINT32)(NonOptionCount-1));
if (NonOptionCount != 2) {
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PING6_INVALID_INPUT), mHiiHandle);
|