]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/TcpMisc.c
Re-execute the failed SCSI command if iSCSI driver could reinstates the session succe...
[mirror_edk2.git] / NetworkPkg / TcpDxe / TcpMisc.c
index 492ec35fb892fd2bb4dc500f38c5f8613d00094b..21bd9dfec1d1d0561b36f175a04e2e309cb451eb 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Misc support routines for TCP driver.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2011, 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
@@ -1245,6 +1245,8 @@ TcpInstallDevicePath (
       Tcb->UseDefaultAddr\r
       );\r
 \r
+    IP4_COPY_ADDRESS (&Ip4DPathNode.SubnetMask, &Tcb->SubnetMask);\r
+\r
     DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) &Ip4DPathNode;\r
   } else {\r
     NetLibCreateIPv6DPathNode (\r