audk/ShellPkg/Library/UefiShellNetwork1CommandsLib
Zhang Lubo 266746561d ShellPkg: Add check logic for the gateway validity.
if we set a static IP using command
'ifconfig -s eth0 static 192.168.0.121 255.255.255.0 0.0.0.0'
The system says 'Failed to set address.' but using
'ifconfig -l', the static IP can be assigned successfully.
so we need to check the gateway validity before setting manual
address to keep the ifconfig -s command more consistent.

Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Cc: Santhapur Naveen <naveens@amiindia.co.in>
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: Fu Siyuan <siyuan.fu@intel.com>
2017-01-19 11:32:14 +08:00
..
Ifconfig.c ShellPkg: Add check logic for the gateway validity. 2017-01-19 11:32:14 +08:00
Ping.c ShellPkg: Fix typos in comments and variables 2016-11-15 11:05:34 +08:00
UefiShellNetwork1CommandsLib.c
UefiShellNetwork1CommandsLib.h ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00
UefiShellNetwork1CommandsLib.inf ShellPkg/UefiShellNetwork1CommandsLib: Fix incorrect Protocol format 2016-12-14 21:34:33 +08:00
UefiShellNetwork1CommandsLib.uni ShellPkg: Add check logic for the gateway validity. 2017-01-19 11:32:14 +08:00