mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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) ) {
|
||||
|
||||
Reference in New Issue
Block a user