diff options
author | jim-p <jimp@pfsense.org> | 2016-08-22 15:34:35 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-08-22 15:34:35 -0400 |
commit | 9fcda3dbd20efb83be69f9b05cc0d2a719fa25bc (patch) | |
tree | aa18e38d5694b440ed72a22173c6088b31fd7f9d /src | |
parent | d18559445d34b928d946e9212ab276e1da5cdb39 (diff) | |
download | pfsense-9fcda3dbd20efb83be69f9b05cc0d2a719fa25bc.zip pfsense-9fcda3dbd20efb83be69f9b05cc0d2a719fa25bc.tar.gz |
Clean up the text on diag_sockets.php. Fixes #6708
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/diag_sockets.php | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/usr/local/www/diag_sockets.php b/src/usr/local/www/diag_sockets.php index 72adf50..dc9059b 100644 --- a/src/usr/local/www/diag_sockets.php +++ b/src/usr/local/www/diag_sockets.php @@ -136,20 +136,18 @@ $showAllOption = $showAll ? "" : "?showAll"; <div> <div class="infoblock"> <?php -print_info_box(gettext('Socket information - explanation.') . '<br /><br />' . -gettext('This page shows the output for the commands: "sockstat -4lL" and "sockstat -6lL".' . '<br />' . - 'Or in case of showing all sockets the output for: "sockstat -4" and "sockstat -6".' . '<br />' . '<br />' . -'The information listed for each socket is:' . '<br /><br />' . -' <dl class="dl-horizontal responsive">' . - '<dt>USER</dt> <dd>The user who owns the socket.</dd>' . - '<dt>COMMAND</dt> <dd>The command which holds the socket.</dd>' . - '<dt>PID</dt> <dd>The process ID of the command which holds the socket.</dd>' . - '<dt>FD</dt> <dd>The file descriptor number of the socket.</dd>' . - '<dt>PROTO</dt> <dd>The transport protocol associated with the socket for Internet sockets, or the type of socket (stream or data-gram) for UNIX sockets.</dd>' . - '<dt>ADDRESS</dt> <dd>(UNIX sockets only) For bound sockets, this is the file-name of the socket. For other sockets, it is the name, PID and file descriptor number of the peer, or "(none)" if the socket is neither bound nor connected.</dd>' . - '<dt>LOCAL ADDRESS</dt> <dd>(Internet sockets only) The address the local end of the socket is bound to (see getsockname(2)).</dd>' . - '<dt>FOREIGN ADDRESS</dt><dd>(Internet sockets only) The address the foreign end of the socket is bound to (see getpeername(2)).</dd>' . - '</dl>'), 'info', false); +print_info_box(gettext('Socket Information') . '<br /><br />' . +gettext('This page shows all listening sockets by default, and shows both listening and outbound connection sockets when <strong>Show all socket connections</strong> is clicked.<br /><br />' . + 'The information listed for each socket is:' . '<br /><br />' . + '<dl class="dl-horizontal responsive">' . + '<dt>USER</dt> <dd>The user who owns the socket.</dd>' . + '<dt>COMMAND</dt> <dd>The command which holds the socket.</dd>' . + '<dt>PID</dt> <dd>The process ID of the command which holds the socket.</dd>' . + '<dt>FD</dt> <dd>The file descriptor number of the socket.</dd>' . + '<dt>PROTO</dt> <dd>The transport protocol associated with the socket.</dd>' . + '<dt>LOCAL ADDRESS</dt> <dd>The address the local end of the socket is bound to.</dd>' . + '<dt>FOREIGN ADDRESS</dt> <dd>The address the foreign end of the socket is bound to.</dd>' . + '</dl>'), 'info', false); ?> </div> </div> |