From 680c4b8f2af6bf69bb7783fa851bc7c346199cf1 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Dutta Date: Tue, 30 Jul 2024 12:26:16 +0530 Subject: [PATCH] self-diagnostics: updated netstat command to collect all --- self-diagnostics/Makefile | 2 +- .../files/usr/share/self-diagnostics/spec/network.json | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/self-diagnostics/Makefile b/self-diagnostics/Makefile index 1f2020d27..ceaf77e1a 100644 --- a/self-diagnostics/Makefile +++ b/self-diagnostics/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=self-diagnostics -PKG_VERSION:=1.0.6 +PKG_VERSION:=1.0.7 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0-only diff --git a/self-diagnostics/files/usr/share/self-diagnostics/spec/network.json b/self-diagnostics/files/usr/share/self-diagnostics/spec/network.json index 8a9be784d..61953d080 100644 --- a/self-diagnostics/files/usr/share/self-diagnostics/spec/network.json +++ b/self-diagnostics/files/usr/share/self-diagnostics/spec/network.json @@ -62,12 +62,8 @@ "cmd": "bridge fdb" }, { - "description": "TCP listened ports", - "cmd": "netstat -tlnp" - }, - { - "description": "UDP listened ports", - "cmd": "netstat -ulnp" + "description": "TCP/UDP/Raw ports/Sockets", + "cmd": "netstat -anp" }, { "description": "MAC layer firewall status list",