150d35eb16
ShellPkg/UefiShellNetwork2CommandsLib: Fix incorrect Protocol format
...
Cc: Fu Siyuan <siyuan.fu@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-12-14 21:34:34 +08:00
69f6787b0d
ShellPkg: Assign the correct value to ShellStatus
...
Since the type of ShellStatus is SHELL_STATUS, we should use
SHELL_INVALID_PARAMETER instead of EFI_INVALID_PARAMETER.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Cc: Zhang Lubo <lubo.zhang@intel.com >
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Cc: Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com >
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com >
2016-12-09 10:10:39 +08:00
445d200762
ShellPkg: Add error prompt message in Ifconfig6 command.
...
v2: update the prompt message more readable.
It should display error prompt message when Ifconfig6 can
not configure correctly.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com >
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Cc: Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed by : Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
2016-12-06 18:37:50 +08:00
825f09b762
ShellPkg: update ping6 to use timer service instead of timer arch protocol .
...
This patch update the shell ping command to use timer service to calculate the
RTT time, instead of using the timer arch protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com >
Cc: Ni Ruiyu <ruiyu.ni@intel.com >
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
2016-11-23 14:01:32 +08:00
268d344557
ShellPkg: Fix typos in comments and variables
...
- funciton -> function
- paramter -> parameter
- supresses -> suppresses
- Seperator -> Separator
- permenant -> permanent
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
2016-11-15 11:05:34 +08:00
d66f85cb5e
ShellPkg/Ping6: Add a note in help for TargetIp
...
'Ping6 TargetIp' is a valid command input but we bail out
when TargetIp is a link local address because we would want
the user to specify the NIC (via SourceIp) through which
he/she would want to ping to TargetIp. This patch updates
the help text to mention the same.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-11-07 10:21:59 -08:00
e7a5a238c3
ShellPkg/Ping6: Handle memory allocation failure
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-07-18 11:04:22 +08:00
a915fea68e
ShellPkg/Ifconfig6: Handle memory allocation failure
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
2016-07-18 11:04:19 +08:00
e2f5c491d8
ShellPkg: Fix issue about Ifconfig6 -r command.
...
Follow the Shell Spec, when the interface name is Specified,
we need to refresh the Ipv6 configuration.
Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com >
Cc: Ye Ting <ting.ye@intel.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: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com >
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com >
2016-07-15 14:45:55 +08:00
dded3ae880
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 >
2016-07-05 16:48:31 +08:00
76cd3ffab6
ShellPkg: Enhance ping6 to select the interface automatically
...
v2:
* Refine the code to make it more readable.
This patch is used to support no source IP specified case while
multiple NICs existed in the platform. The command will select the
first both connected and configured interface automatically.
Note: Source address is always required when pinging a
link-local address.
Cc: Bhupesh Sharma <bhupesh.sharma@nxp.com >
Cc: Jaben Carsey <jaben.carsey@intel.com >
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
2016-04-29 11:32:35 +08:00
43ca17532b
ShellPkg: Merge Ping6 and Ifconfig6 tools to Shell command.
...
According to the new Shell spec, we add Network2 profile and
merge Ping6 and Ifconfig6 tools to Shell command.
Cc: Carsey Jaben <jaben.carsey@intel.com >
Cc: Wu Jiaxin <jiaxin.wu@intel.com >
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com >
Reviewed-By: Jaben Carsey <Jaben.carsey@intel.com >
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com >
2016-03-08 15:01:29 +08:00