]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Application/Ping6/Ping6.c
Update ipsecconfig and ping6 due to ShellLib update.
[mirror_edk2.git] / NetworkPkg / Application / Ping6 / Ping6.c
index b783c5a02757da8ebb5c32825f844390b24da284..b86ee18ae5bf01ada301491b0d8806e00ed75a74 100644 (file)
@@ -1136,7 +1136,7 @@ InitializePing6 (
   //\r
   // Parse the paramter of destination ip address.\r
   //\r
   //\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
   ValueStr = ShellCommandLineGetRawValue (ParamPackage, (UINT32)(NonOptionCount-1));\r
   if (NonOptionCount != 2) {\r
     ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PING6_INVALID_INPUT), mHiiHandle);\r