//\r
// Parse the paramter of destination ip address.\r
//\r
- NonOptionCount = ShellCommandLineGetCount();\r
+ NonOptionCount = ShellCommandLineGetCount(ParamPackage);\r
ValueStr = ShellCommandLineGetRawValue (ParamPackage, (UINT32)(NonOptionCount-1));\r
if (NonOptionCount != 2) {\r
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PING6_INVALID_INPUT), mHiiHandle);\r