summaryrefslogtreecommitdiffstats
path: root/EdkShellPkg
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2017-10-20 14:46:31 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2017-10-26 16:22:14 +0800
commitad1484c3c407f127901eb3d1ac15afbe99f5cf32 (patch)
tree57f761ffaece983e5472264f91938e7908912a71 /EdkShellPkg
parent4c19e1d2e1bd5915a75620b2ec85c02d3579b50f (diff)
downloadedk2-ad1484c3c407f127901eb3d1ac15afbe99f5cf32.tar.gz
edk2-ad1484c3c407f127901eb3d1ac15afbe99f5cf32.tar.bz2
edk2-ad1484c3c407f127901eb3d1ac15afbe99f5cf32.zip
MdeModulePkg/Ip4Dxe: Trigger Ip4Config2 to retrieve the default address.
According the UEFI spec 2.7 A: In section 28.3.2 for the IpConfigData.UseDefaultAddress, "While set to TRUE, Configure() will trigger the EFI_IP4_CONFIG2_PROTOCOL to retrieve the default IPv4 address if it is not available yet." In section 28.5 for the Ip4Config2PolicyDhcp, "...All of these configurations are retrieved from DHCP server or other auto-configuration mechanism." This patch is to align with the above description. When the default IPv4 address is not available and IpConfigData.UseDefaultAddress is set to TRUE, Ip4Config2 protocol will be called to retrieve the default address by setting the policy to Ip4Config2PolicyDhcp. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'EdkShellPkg')
0 files changed, 0 insertions, 0 deletions