diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2017-01-06 17:15:27 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-01-19 11:32:14 +0800 |
commit | 266746561d454d3d35938886e61a02b1ee1abaff (patch) | |
tree | 95b1f3a4e07785cf99501c75fc850404b5533d90 /OvmfPkg/XenBusDxe/XenStore.c | |
parent | eabc6e59b9a718a44ab292f7e5c447c4c06d21c4 (diff) | |
download | edk2-266746561d454d3d35938886e61a02b1ee1abaff.tar.gz edk2-266746561d454d3d35938886e61a02b1ee1abaff.tar.bz2 edk2-266746561d454d3d35938886e61a02b1ee1abaff.zip |
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>
Diffstat (limited to 'OvmfPkg/XenBusDxe/XenStore.c')
0 files changed, 0 insertions, 0 deletions