audk/ShellPkg/Library
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
..
UefiDpLib ShellPkg/UefiDpLib: rebase to ARRAY_SIZE() 2016-10-27 11:15:20 +02:00
UefiHandleParsingLib ShellPkg/HandleParsingLib: Fix build failure due to missing semicolon 2017-01-11 13:14:40 +08:00
UefiShellBcfgCommandLib ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00
UefiShellCEntryLib ShellPkg: Fix typos in comments and variables 2016-11-15 11:05:34 +08:00
UefiShellCommandLib ShellPkg/ShellCommandLib: Add missing EFIAPI for public library APIs 2016-11-11 10:59:39 +08:00
UefiShellDebug1CommandsLib ShellPkg SmbiosView: Add missing decoding of SMBIOS spec 3.0.0 2017-01-19 10:00:07 +08:00
UefiShellDriver1CommandsLib ShellPkg/dh: Support dump from GUID and "decode" parameter 2017-01-11 10:07:08 +08:00
UefiShellInstall1CommandsLib Revert "ShellPkg : Add UEFI_APPLICATION module type to UefiShellInstall1CommandsLib.inf" 2016-01-06 16:23:20 +00:00
UefiShellLevel1CommandsLib ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00
UefiShellLevel2CommandsLib ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':') 2016-12-29 09:35:14 +08:00
UefiShellLevel3CommandsLib ShellPkg: Add missing header line for SFO flag in 'cls' command 2016-12-09 09:32:51 +08:00
UefiShellLib ShellPkg: print only valid characters for file overwrite prompt 2016-10-31 08:21:05 -07:00
UefiShellNetwork1CommandsLib ShellPkg: Add check logic for the gateway validity. 2017-01-19 11:32:14 +08:00
UefiShellNetwork2CommandsLib ShellPkg/Ifconfig6: Address ASSERT because of a missing NULL check 2017-01-13 09:40:48 +08:00
UefiShellTftpCommandLib ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00