]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
ShellPkg: Enhance ping6 to select the interface automatically
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 22 Apr 2016 02:55:03 +0000 (10:55 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Fri, 29 Apr 2016 03:32:35 +0000 (11:32 +0800)
commit76cd3ffab6105c3c535125c1907ccdb4a9e19bbd
treeaaab2f702ca0573e0e0cf941e19544b361ebccdf
parent9ce14ca124dd4ef1ae1f4e7c55840a13f1a6c0b7
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>
ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c