Revision: 17062 http://sourceforge.net/p/edk2/code/17062 Author: sfu5 Date: 2015-03-18 02:53:09 +0000 (Wed, 18 Mar 2015) Log Message: ----------- 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...@intel.com> Reviewed-by: Ye Ting <ting...@intel.com> Reviewed-by: Dong Eric <eric.d...@intel.com> Modified Paths: -------------- trunk/edk2/NetworkPkg/TcpDxe/TcpMain.c Modified: trunk/edk2/NetworkPkg/TcpDxe/TcpMain.c =================================================================== --- trunk/edk2/NetworkPkg/TcpDxe/TcpMain.c 2015-03-18 00:45:50 UTC (rev 17061) +++ trunk/edk2/NetworkPkg/TcpDxe/TcpMain.c 2015-03-18 02:53:09 UTC (rev 17062) @@ -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 @@ 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); } ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits