https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5e10c4ed32b4caeab9ec0…
commit 5e10c4ed32b4caeab9ec09b6d705973e7caaaad4
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sat Jun 29 10:54:19 2019 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sun Jun 30 13:55:05 2019 +0200
[NETSTAT] ShowUdpTable(): Fix "tcp" copypasta
---
base/applications/network/netstat/netstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/network/netstat/netstat.c
b/base/applications/network/netstat/netstat.c
index 91e54747b4a..6dcc174215d 100644
--- a/base/applications/network/netstat/netstat.c
+++ b/base/applications/network/netstat/netstat.c
@@ -508,7 +508,7 @@ BOOL ShowUdpTable(VOID)
/* I've split this up so it's easier to follow */
GetIpHostName(TRUE, udpTable->table[i].dwLocalAddr, HostIp, sizeof(HostIp));
- GetPortName(udpTable->table[i].dwLocalPort, "tcp", HostPort,
sizeof(HostPort));
+ GetPortName(udpTable->table[i].dwLocalPort, "udp", HostPort,
sizeof(HostPort));
sprintf(Host, "%s:%s", HostIp, HostPort);