mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[IPHLPAPI] Properly count UDP entries
Fixes crash when running netstat -a with no TCP connections but with UDP connections CORE-5401
This commit is contained in:
parent
007f43dd56
commit
d18b1fe24b
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ PMIB_UDPTABLE getUdpTable(void)
|
|||
|
||||
TRACE("called.\n");
|
||||
|
||||
totalNumber = getNumTcpEntries();
|
||||
totalNumber = getNumUdpEntries();
|
||||
|
||||
status = openTcpFile( &tcpFile, FILE_READ_DATA );
|
||||
if( !NT_SUCCESS(status) ) {
|
||||
|
|
Loading…
Reference in a new issue