/** @file\r
Implementation of I/O interfaces between TCP and IpIoLib.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php.\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
// It's IPv6 and this TCP segment belongs to a solid TCB, in such case\r
// the destination address can't be overridden, so reset the Dest to NULL.\r
//\r
- Dest = NULL;\r
+ if (!Tcb->RemoteIpZero) {\r
+ Dest = NULL;\r
+ }\r
}\r
}\r
\r