From 339a588fe1ab3a1f31dd2ddb0dced2f9060c8503 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Sat, 17 May 2014 18:00:07 +0100 Subject: Tidy up "diag_sockets.php" XHTML Add SUMMARY to TABLES Change "onclick" to lower case Remove closing FONT tag ID cannot start with a number, so add PHP $name variable Remove duplicate closing TABLE tag Remove duplicate BORDER statement Add missing closing BODY and closing HTML tags --- usr/local/www/diag_sockets.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'usr/local/www/diag_sockets.php') diff --git a/usr/local/www/diag_sockets.php b/usr/local/www/diag_sockets.php index 938e2d5..c3008d7 100644 --- a/usr/local/www/diag_sockets.php +++ b/usr/local/www/diag_sockets.php @@ -55,7 +55,7 @@ $showAllOption = $showAll ? "" : "?showAll"; ?>
- +
@@ -63,7 +63,7 @@ $showAllOption = $showAll ? "" : "?showAll"; - +
Information about listening sockets for both IPv4 and IPv6.
For explanation about the meaning of the information listed for each socket click here.
To show information about both listening and connected sockets click this.To show information about both listening and connected sockets click this.
@@ -81,10 +81,10 @@ $showAllOption = $showAll ? "" : "?showAll"; $name = ($tabindex == 0 ? 'IPv4' : 'IPv6'); ?> - - +
+
- +
$line) { if ($i == 0) @@ -94,7 +94,7 @@ $showAllOption = $showAll ? "" : "?showAll"; if (trim($line) == "") continue; - print("\n"); + print("\n"); $j = 0; foreach (explode(' ', $line) as $entry) { if ($entry == '' || $entry == "ADDRESS") continue; @@ -113,12 +113,12 @@ $showAllOption = $showAll ? "" : "?showAll"; -
+
- +
- + + -- cgit v1.1
Socket information explanation
+
This page show the output for the commands: "sockstat -4lL" and "sockstat -6lL".
Or in case of showing all sockets the output for: "sockstat -4" and "sockstat -6".

@@ -136,3 +136,5 @@ The information listed for each socket is: