diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2016-07-01 14:12:31 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:43:50 +0800 |
commit | 49069503b9cf9d14c1481a2bed1cfc02abfdd0cc (patch) | |
tree | 695cd2f1dbb6977fc27c900c6a105ca76ae889a5 /ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | |
parent | f8e1d8c629ba474d03d2ae8ca7d667649643e682 (diff) | |
download | edk2-platforms-49069503b9cf9d14c1481a2bed1cfc02abfdd0cc.tar.xz |
ShellPkg: Update the error prompt for ping6 command.
when we use the ping6 command without configuring the network
interface, it should give correct prompt to users.
Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Hegde, Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com>
(cherry picked from commit dded3ae880310c1fa57a6259058dc28d12cff61c)
Diffstat (limited to 'ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c')
-rw-r--r-- | ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c index e4ae977eb5..4496802eac 100644 --- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c +++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c @@ -826,7 +826,7 @@ Ping6CreateIpInstance ( //
if (HandleIndex == HandleNum) {
- ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PING6_SOURCE_NOT_FOUND), gShellNetwork2HiiHandle, mIp6SrcString);
+ ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PING6_CONFIGD_NIC_NF), gShellNetwork2HiiHandle);
Status = EFI_NOT_FOUND;
goto ON_ERROR;
}
|