]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Improve "ping" output by adding equals sign after time
authorRebecca Cran <quic_rcran@quicinc.com>
Thu, 1 Dec 2022 21:49:35 +0000 (05:49 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 6 Mar 2023 02:41:00 +0000 (02:41 +0000)
The output of the "ping" command shows the time without a space between
the label and the value. e.g.:

20 bytes from 192.168.0.1 : icmp_seq=1 ttl=1 time1~2ms

Improve the readability and consistency by adding an equals sign for the
time value:

20 bytes from 192.168.0.1 : icmp_seq=1 ttl=1 time=1~2ms

Signed-off-by: Rebecca Cran <rebecca@quicinc.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.uni
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.uni

index 73cf96d9e614fbbacbbe3d26ef31a1d535802a53..37fd4a11929c8ae6a9b75870d28710a97cd5979f 100644 (file)
@@ -52,7 +52,7 @@
 #string STR_PING_NOROUTE_FOUND       #language en-US "There is no route to the destination '%B%s%N' from the source '%B%s%N' was found.\r\n"\r
 #string STR_PING_START               #language en-US "Ping %s %d data bytes.\r\n"\r
 #string STR_PING_TIMEOUT             #language en-US "Echo request sequence %d timeout.\r\n"\r
-#string STR_PING_REPLY_INFO          #language en-US "%d bytes from %s : icmp_seq=%d ttl=%d time%d~%dms\r\n"\r
+#string STR_PING_REPLY_INFO          #language en-US "%d bytes from %s : icmp_seq=%d ttl=%d time=%d~%dms\r\n"\r
 #string STR_PING_STAT                #language en-US "\n%d packets transmitted, %d received, %d%% packet loss, time %dms\r\n"\r
 #string STR_PING_RTT                 #language en-US "\nRtt(round trip time) min=%d~%dms max=%d~%dms avg=%d~%dms\r\n"\r
 \r
index 30913ae5b58398b4a29e87bb21c9ab1315426b06..cb9d39a33fbeae9aeba333e0d2595b8c55673314 100644 (file)
@@ -33,7 +33,7 @@
 #string STR_PING6_NOSOURCE_INDOMAIN        #language en-US  "No sources in %s's multicast domain.\r\n"\r
 #string STR_PING6_START                    #language en-US  "Ping %s %d data bytes\r\n"\r
 #string STR_PING6_TIMEOUT                  #language en-US  "Echo request sequence %d timeout.\r\n"\r
-#string STR_PING6_REPLY_INFO               #language en-US  "%d bytes from %s : icmp_seq=%d ttl=%d time%d~%dms\r\n"\r
+#string STR_PING6_REPLY_INFO               #language en-US  "%d bytes from %s : icmp_seq=%d ttl=%d time=%d~%dms\r\n"\r
 #string STR_PING6_STAT                     #language en-US  "\n%d packets transmitted, %d received, %d%% packet loss, time %dms\r\n"\r
 #string STR_PING6_RTT                      #language en-US  "\nRtt(round trip time) min=%d~%dms max=%d~%dms avg=%d~%dms\r\n"\r
 \r