mirror of
https://github.com/reactos/reactos.git
synced 2025-07-09 13:27:52 +00:00
[TCPIP]
- Add a couple more debug prints svn path=/trunk/; revision=53013
This commit is contained in:
parent
7f28186e88
commit
2ec386e0dc
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,7 @@ NTSTATUS FileOpenAddress(
|
|||
{
|
||||
/* The client specified an explicit port so we force a bind to this */
|
||||
AddrFile->Port = TCPAllocatePort(Address->Address[0].Address[0].sin_port);
|
||||
DbgPrint("Bind - Explicit port %d\n", AddrFile->Port);
|
||||
|
||||
/* Check for bind success */
|
||||
if (AddrFile->Port == 0xffff)
|
||||
|
@ -299,6 +300,7 @@ NTSTATUS FileOpenAddress(
|
|||
{
|
||||
/* The client is trying to bind to a local address so allocate a port now too */
|
||||
AddrFile->Port = TCPAllocatePort(0);
|
||||
DbgPrint("Bind - Unspecified port %d\n", AddrFile->Port);
|
||||
|
||||
/* Check for bind success */
|
||||
if (AddrFile->Port == 0xffff)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue