https://git.reactos.org/?p=reactos.git;a=commitdiff;h=af0d1d2f98749ed382ab7…
commit af0d1d2f98749ed382ab7e718b91a9f11fd8a073
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sat Jun 29 15:14:39 2019 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Fri Aug 16 14:46:45 2019 +0200
[NETSTAT] '-p UDP' depends on '-a'
---
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 6dcc174215d..97a843b143d 100644
--- a/base/applications/network/netstat/netstat.c
+++ b/base/applications/network/netstat/netstat.c
@@ -212,7 +212,7 @@ BOOL DisplayOutput(VOID)
ShowUdpStatistics();
ConResPuts(StdOut, IDS_ACTIVE_CONNECT);
DisplayTableHeader();
- return ShowUdpTable();
+ return (bDoShowAllCons ? ShowUdpTable() : TRUE);
default:
break;
}