]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/EfiSocketLib/Tcp4.c
Fix issues detected by python web-server.
[mirror_edk2.git] / StdLib / EfiSocketLib / Tcp4.c
index b3ed45a716e1728636295a26baaaf736cf6d17a3..32c7a394c4a4d10497813732f2d01e0577d5db85 100644 (file)
@@ -1171,6 +1171,7 @@ EslTcp4LocalAddressSet (
       //  Set the port number\r
       //\r
       pAccessPoint->StationPort = SwapBytes16 ( pIpAddress->sin_port );\r
+      pPort->pSocket->bAddressSet = TRUE;\r
 \r
       //\r
       //  Display the local address\r