mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
40b4e21dbc
commit
dded3ae880
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#string STR_PING6_IP6_CONFIG #language en-US "%Ping6: The process of Ip6 Configure %r\r\n"
|
||||
#string STR_PING6_IP6CFG_GETDATA #language en-US "%Ping6: Get data of the interface information %r\r\n"
|
||||
#string STR_PING6_SEND_REQUEST #language en-US "Echo request sequence %d fails.\r\n"
|
||||
#string STR_PING6_SOURCE_NOT_FOUND #language en-US "Source %s not found.\r\n"
|
||||
#string STR_PING6_CONFIGD_NIC_NF #language en-US "%Ping6: No configured interfaces were found.\r\n"
|
||||
#string STR_PING6_NOSOURCE_INDOMAIN #language en-US "No sources in %s's multicast domain.\r\n"
|
||||
#string STR_PING6_START #language en-US "Ping %s %d data bytes\r\n"
|
||||
#string STR_PING6_TIMEOUT #language en-US "Echo request sequence %d timeout.\r\n"
|
||||
|
|
Loading…
Reference in New Issue