6 Commits
Author SHA1 Message Date
Ruiyu Ni 3c75b62e73 ShellPkg/Ping6: Handle memory allocation failure
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
(cherry picked from commit e7a5a238c3)
2016-07-25 11:05:21 +08:00
Ruiyu Ni 433e146251 ShellPkg/Ifconfig6: Handle memory allocation failure
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
(cherry picked from commit a915fea68e)
2016-07-25 11:05:18 +08:00
Zhang Lubo cd147fe4c5 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 <[email protected]>
Cc: Ye Ting <[email protected]>
Cc: Fu Siyuan <[email protected]>
Cc: Wu Jiaxin <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <[email protected]>
Reviewed-by: Hegde Nagaraj P <[email protected]>
Reviewed-by: Sriram Subramanian <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Reviewed-By: Wu Jiaxin <[email protected]>
(cherry picked from commit e2f5c491d8)
2016-07-25 11:03:51 +08:00
Zhang Lubo 49069503b9 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 <[email protected]>
Cc: Fu Siyuan <[email protected]>
Cc: Wu Jiaxin <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <[email protected]>
Reviewed-by: Sriram Subramanian <[email protected]>
Reviewed-by: Hegde, Nagaraj P <[email protected]>
Reviewed-By: Wu Jiaxin <[email protected]>
(cherry picked from commit dded3ae880)
2016-07-13 20:43:50 +08:00
Jiaxin Wu c48cf23568 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 <[email protected]>
Cc: Jaben Carsey <[email protected]>
Cc: Ye Ting <[email protected]>
Cc: Fu Siyuan <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>
(cherry picked from commit 76cd3ffab6)
2016-07-13 20:43:13 +08:00
Zhang, Lubo 18c6594bbc 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 <[email protected]>
Cc: Wu Jiaxin <[email protected]>
Cc: Ye Ting <[email protected]>
Cc: Fu Siyuan <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <[email protected]>
Reviewed-By: Jaben Carsey <[email protected]>
Reviewed-by: Jiaxin Wu <[email protected]>
(cherry picked from commit 43ca17532b)
2016-07-13 20:42:24 +08:00