diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2015-03-18 02:53:09 +0000 |
---|---|---|
committer | sfu5 <sfu5@Edk2> | 2015-03-18 02:53:09 +0000 |
commit | 2594a98e41617ecfd5d2e3126864b4649d09a803 (patch) | |
tree | adad9b4da41a2c02fbef59ceed6898bf8592c481 /NetworkPkg/TcpDxe/TcpMain.c | |
parent | 9439da565e280199469f82db159ea1616a715a25 (diff) | |
download | edk2-2594a98e41617ecfd5d2e3126864b4649d09a803.zip edk2-2594a98e41617ecfd5d2e3126864b4649d09a803.tar.gz edk2-2594a98e41617ecfd5d2e3126864b4649d09a803.tar.bz2 |
Fix GCC hang issue: Point should use directly assignment instead of IP4_COPY_ADDRESS.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Dong Eric <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17062 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/TcpDxe/TcpMain.c')
-rw-r--r-- | NetworkPkg/TcpDxe/TcpMain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NetworkPkg/TcpDxe/TcpMain.c b/NetworkPkg/TcpDxe/TcpMain.c index 66a09c4..f79db48 100644 --- a/NetworkPkg/TcpDxe/TcpMain.c +++ b/NetworkPkg/TcpDxe/TcpMain.c @@ -2,7 +2,7 @@ Implementation of EFI_TCP4_PROTOCOL and EFI_TCP6_PROTOCOL.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -230,9 +230,9 @@ Tcp4Routes ( Sock = SOCK_FROM_THIS (This);
RouteInfo.DeleteRoute = DeleteRoute;
- IP4_COPY_ADDRESS (&RouteInfo.SubnetAddress, &SubnetAddress);
- IP4_COPY_ADDRESS (&RouteInfo.SubnetMask, &SubnetMask);
- IP4_COPY_ADDRESS (&RouteInfo.GatewayAddress, &GatewayAddress);
+ RouteInfo.SubnetAddress = SubnetAddress;
+ RouteInfo.SubnetMask = SubnetMask;
+ RouteInfo.GatewayAddress = GatewayAddress;
return SockRoute (Sock, &RouteInfo);
}
|