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
This commit is contained in:
parent
d5b4aa9075
commit
f03482d48e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user