diff options
Diffstat (limited to 'StdLib/EfiSocketLib/Tcp4.c')
-rw-r--r-- | StdLib/EfiSocketLib/Tcp4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/StdLib/EfiSocketLib/Tcp4.c b/StdLib/EfiSocketLib/Tcp4.c index e7924fa429..145186bb36 100644 --- a/StdLib/EfiSocketLib/Tcp4.c +++ b/StdLib/EfiSocketLib/Tcp4.c @@ -790,6 +790,8 @@ EslTcp4Listen ( // Mark the socket as configured
//
pSocket->bConfigured = TRUE;
+ Status = EFI_SUCCESS;
+ pSocket->errno = 0;
//
// All done
|