summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-26 16:51:58 -0200
committerRenato Botelho <renato@netgate.com>2015-11-26 16:51:58 -0200
commitd52a7eb8582a52210fe012d52d96cb4846a020d0 (patch)
treee2e1a4c0cffd80fffc01b59fc04bfdb9d1da768e /src/usr/local
parent0a18cadce0b71c959a3be48406af55dead668ded (diff)
downloadpfsense-d52a7eb8582a52210fe012d52d96cb4846a020d0.zip
pfsense-d52a7eb8582a52210fe012d52d96cb4846a020d0.tar.gz
Add -W to netstat call to make sure long interface name will be not truncated. Ticket #5484
Diffstat (limited to 'src/usr/local')
-rwxr-xr-xsrc/usr/local/www/status.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status.php b/src/usr/local/www/status.php
index 06b896c..21358fc 100755
--- a/src/usr/local/www/status.php
+++ b/src/usr/local/www/status.php
@@ -64,7 +64,7 @@
*/
/*
pfSense_BUILDER_BINARIES: /usr/bin/vmstat /usr/bin/netstat /sbin/dmesg /sbin/mount /sbin/setkey /usr/local/sbin/pftop
- pfSense_BUILDER_BINARIES: /sbin/pfctl /sbin/sysctl /usr/bin/top /usr/bin/netstat /sbin/pfctl /sbin/ifconfig
+ pfSense_BUILDER_BINARIES: /sbin/pfctl /sbin/sysctl /usr/bin/top /sbin/pfctl /sbin/ifconfig
pfSense_MODULE: support
*/
@@ -198,7 +198,7 @@ global $g, $config;
/* System stats/info */
defCmdT("System uptime","/usr/bin/uptime");
defCmdT("Interfaces","/sbin/ifconfig -a");
-defCmdT("Interface Statistics","/usr/bin/netstat -ni");
+defCmdT("Interface Statistics","/usr/bin/netstat -nWi");
defCmdT("Top Process Info", "/usr/bin/top | /usr/bin/head -n5");
defCmdT("Processes","/bin/ps xauww");
defCmdT("Mounted Filesystems", "/sbin/mount");
OpenPOWER on IntegriCloud