From 501793fad4084c43828ba2f4e2d9355d29abe9f7 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Wed, 26 Oct 2011 09:29:46 +0000 Subject: Adopt new IPv4/IPv6 device path for network modules. Signed-off-by: tye Reviewed-by: niruiyu Adopt SasEx and new IPv6 device path for DevicePathDxe driver. Signed-off-by: niruiyu Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12574 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/TcpDxe/TcpMisc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NetworkPkg/TcpDxe') diff --git a/NetworkPkg/TcpDxe/TcpMisc.c b/NetworkPkg/TcpDxe/TcpMisc.c index 492ec35fb8..21bd9dfec1 100644 --- a/NetworkPkg/TcpDxe/TcpMisc.c +++ b/NetworkPkg/TcpDxe/TcpMisc.c @@ -1,7 +1,7 @@ /** @file Misc support routines for TCP driver. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -1245,6 +1245,8 @@ TcpInstallDevicePath ( Tcb->UseDefaultAddr ); + IP4_COPY_ADDRESS (&Ip4DPathNode.SubnetMask, &Tcb->SubnetMask); + DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) &Ip4DPathNode; } else { NetLibCreateIPv6DPathNode ( -- cgit v1.2.3