summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/BuildToolError.py
diff options
context:
space:
mode:
authorWang Fan <fan.wang@intel.com>2018-01-03 10:39:46 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2018-01-03 13:53:13 +0800
commit0ba795d21ad0df72ee3a12667d30ed7c64125b9c (patch)
tree9e6ac427d71c7f98039bd440fc11fad4553d77dc /BaseTools/Source/Python/Common/BuildToolError.py
parentff260aa7abbeefdea591bb0b15e7d89e73d6c334 (diff)
downloadedk2-0ba795d21ad0df72ee3a12667d30ed7c64125b9c.tar.gz
edk2-0ba795d21ad0df72ee3a12667d30ed7c64125b9c.tar.bz2
edk2-0ba795d21ad0df72ee3a12667d30ed7c64125b9c.zip
MdeModulePkg: Add error handling when IP address is Class E
The Dhcp4.TransmitReceive() API should be able to use at any time according to UEFI spec. While in classless addressing network, the netmask must be explicitly provided together with the station address. But if the DHCP instance haven't be configured with a valid netmask, we need compute it according to the classful addressing rule. In such case, if the user configures with class E IP address, ASSERT will happen, we need to handle this case and return error status code. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wang Fan <fan.wang@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/BuildToolError.py')
0 files changed, 0 insertions, 0 deletions