Swap the port part of the address so it's reported correctly. Modified: trunk/reactos/drivers/net/tcpip/tcpip/dispatch.c _____
Modified: trunk/reactos/drivers/net/tcpip/tcpip/dispatch.c --- trunk/reactos/drivers/net/tcpip/tcpip/dispatch.c 2005-03-11 21:07:55 UTC (rev 13936) +++ trunk/reactos/drivers/net/tcpip/tcpip/dispatch.c 2005-03-11 21:13:11 UTC (rev 13937) @@ -621,7 +621,7 @@
Address->TAAddressCount = 1; Address->Address[0].AddressLength = TDI_ADDRESS_LENGTH_IP; Address->Address[0].AddressType = TDI_ADDRESS_TYPE_IP; - Address->Address[0].Address[0].sin_port = AddrFile->Port; + Address->Address[0].Address[0].sin_port = htons(AddrFile->Port); Address->Address[0].Address[0].in_addr = AddrFile->Address.Address.IPv4Address; RtlZeroMemory(