mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 15:14:02 +02:00
fix a issue to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4401 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c4a62a12c2
commit
893ce03b01
@ -639,7 +639,6 @@ DhcpHandleSelect (
|
|||||||
IN DHCP_PARAMETER *Para
|
IN DHCP_PARAMETER *Para
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
EFI_DHCP4_HEADER *Head;
|
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
Status = EFI_SUCCESS;
|
Status = EFI_SUCCESS;
|
||||||
@ -650,8 +649,6 @@ DhcpHandleSelect (
|
|||||||
// 2. if it is a DHCP message, it must contains a server ID.
|
// 2. if it is a DHCP message, it must contains a server ID.
|
||||||
// Don't return a error for these two case otherwise the session is ended.
|
// Don't return a error for these two case otherwise the session is ended.
|
||||||
//
|
//
|
||||||
Head = &Packet->Dhcp4.Header;
|
|
||||||
|
|
||||||
if (!DHCP_IS_BOOTP (Para) &&
|
if (!DHCP_IS_BOOTP (Para) &&
|
||||||
((Para->DhcpType != DHCP_MSG_OFFER) || (Para->ServerId == 0))) {
|
((Para->DhcpType != DHCP_MSG_OFFER) || (Para->ServerId == 0))) {
|
||||||
goto ON_EXIT;
|
goto ON_EXIT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user