diff options
author | tuexen <tuexen@FreeBSD.org> | 2015-06-13 20:15:44 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2015-06-13 20:15:44 +0000 |
commit | 970120bd68630de526fdff04204ee79e1ba126ba (patch) | |
tree | 3e91d9278e9ffafb8d8353da995878216224e4c8 /usr.bin | |
parent | 999c2a5123bede3900344bcb5c3c472d3bf2bc7c (diff) | |
download | FreeBSD-src-970120bd68630de526fdff04204ee79e1ba126ba.zip FreeBSD-src-970120bd68630de526fdff04204ee79e1ba126ba.tar.gz |
When using -L the code skips a socket if the local or foreign
address is loopback. So it is shown if both are not loopback.
The man page says that it is shown if the local or foreign
address is not loopback. Change the man page to reflect the
code.
MFC after: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sockstat/sockstat.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sockstat/sockstat.1 b/usr.bin/sockstat/sockstat.1 index 5076ae8..16d3486 100644 --- a/usr.bin/sockstat/sockstat.1 +++ b/usr.bin/sockstat/sockstat.1 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 7, 2015 +.Dd June 13, 2015 .Dt SOCKSTAT 1 .Os .Sh NAME @@ -61,7 +61,7 @@ Show connected sockets. .It Fl j Ar jid Show only sockets belonging to the specified jail ID. .It Fl L -Only show Internet sockets if the local or foreign addresses are not +Only show Internet sockets if the local and foreign addresses are not in the loopback network prefix .Li 127.0.0.0/8 , or do not contain the IPv6 loopback address |