Update ipsecconfig and ping6 due to ShellLib update.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10990 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xdu2
2010-11-01 08:17:43 +00:00
parent 97f98500c1
commit 780847d128
4 changed files with 69 additions and 38 deletions

View File

@@ -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);