https://git.reactos.org/?p=reactos.git;a=commitdiff;h=96985e0746fef1fffe45a…
commit 96985e0746fef1fffe45ad8274a4533eb0aea14c
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Mon Dec 31 10:35:40 2018 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Mon Dec 31 11:19:36 2018 +0100
[TCPIP] Return the SubProcessTag when enumerating connections with owner class
---
drivers/network/tcpip/tcpip/ninfo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/network/tcpip/tcpip/ninfo.c b/drivers/network/tcpip/tcpip/ninfo.c
index 8ad01fb413..cb88a2110d 100644
--- a/drivers/network/tcpip/tcpip/ninfo.c
+++ b/drivers/network/tcpip/tcpip/ninfo.c
@@ -251,8 +251,8 @@ TDI_STATUS InfoTdiQueryGetConnectionTcpTable(PADDRESS_FILE AddrFile,
{
if (Class == TcpUdpClassOwner)
{
- /* FIXME */
RtlZeroMemory(&TcpRow.OwningModuleInfo[0],
sizeof(TcpRow.OwningModuleInfo));
+ TcpRow.OwningModuleInfo[0] = (ULONG_PTR)AddrFile->SubProcessTag;
}
Status = InfoCopyOut( (PCHAR)&TcpRow, Size,
@@ -295,8 +295,8 @@ TDI_STATUS InfoTdiQueryGetConnectionUdpTable(PADDRESS_FILE AddrFile,
UdpRow.dwFlags = 0; /* FIXME */
if (Class == TcpUdpClassOwner)
{
- /* FIXME */
RtlZeroMemory(&UdpRow.OwningModuleInfo[0], sizeof(UdpRow.OwningModuleInfo));
+ UdpRow.OwningModuleInfo[0] = (ULONG_PTR)AddrFile->SubProcessTag;
}
Status = InfoCopyOut( (PCHAR)&UdpRow,