summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/Network
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-29 07:48:48 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-29 07:48:48 +0000
commit02dab4284760ead01742123500104b64fdc92964 (patch)
treeefbe21f8e628d3a2bb4d8e397394d01e94ed1752 /EdkModulePkg/Universal/Network
parent46dd23b81ebe5041229608a851ed7af692863f3c (diff)
downloadedk2-platforms-02dab4284760ead01742123500104b64fdc92964.tar.xz
Variable driver: add checking to make sure flash is properly initialized
PxeBc driver: fix the issue that the giaddr is wrongly interpreted to "gateway address" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2515 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/Network')
-rw-r--r--EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_dhcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_dhcp.c b/EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_dhcp.c
index 101c030bc8..2e22fc5a35 100644
--- a/EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_dhcp.c
+++ b/EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_dhcp.c
@@ -621,8 +621,6 @@ AddRouters (
DHCP_RECEIVE_BUFFER *RxBufPtr
)
{
- Ip4AddRouter (Private, &RxBufPtr->u.Dhcpv4.giaddr);
-
Ip4AddRouterList (
Private,
(DHCPV4_OP_IP_LIST *) RxBufPtr->OpAdds.PktOptAdds[OP_ROUTER_LIST_IX - 1]