mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
v2:
* Add the check in Ip4Config2SetDefaultIf to avoid the DHCP configuration
case.
Ip4config2 doesn't check the validity of Ip/Netmask pair, which
leads to the invalid combination of Ip and Netmask setting.
This patch is to resolve the issue.
Cc: Hegde Nagaraj P <[email protected]>
Cc: Subramanian Sriram <[email protected]>
Cc: Ye Ting <[email protected]>
Cc: Fu Siyuan <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <[email protected]>
Reviewed-by: Sriram Subramanian <[email protected]>
Reviewed-by: Hegde Nagaraj P <[email protected]>
(cherry picked from commit f1222593f2)
Conflicts:
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c