ss: Correct state 'listen' to 'listening' in docs and command help
Subsystems (2)
PATCH 1/1 ss: Correct state 'listen' to 'listening' in docs and command help
Minor change to correct states in ss command documentation and command line help.
The correct state term is 'listening' not 'listen' (see definition of sstate_namel in misc/ss.c).
--- doc/ss.sgml | 4 ++-- man/man8/ss.8 | 4 ++-- misc/ss.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
doc/ss.sgml +1 -1
@@ -371,10 +371,10 @@ Available identifiers are: <itemize> <item> All standard TCP states: <tt/established/, <tt/syn-sent/, <tt/syn-recv/, <tt/fin-wait-1/, <tt/fin-wait-2/, <tt/time-wait/, -<tt/closed/, <tt/close-wait/, <tt/last-ack/, <tt/listen/ and <tt/closing/. +<tt/closed/, <tt/close-wait/, <tt/last-ack/, <tt/listening/ and
<tt/closing/.
<item><tt/all/ - for all the states
-<item><tt/connected/ - all the states except for <tt/listen/ and <tt/closed/
+<item><tt/connected/ - all the states except for <tt/listening/ and <tt/closed/
<item><tt/synchronized/ - all the <tt/connected/ states except for <tt/syn-sent/
<item><tt/bucket/ - states, which are maintained as minisockets, i.e.
man/man8/ss.8 +0 -0
@@ -142,14 +142,14 @@ Available identifiers are: All standard TCP states: .BR established ", " syn-sent ", " syn-recv ", " fin-wait-1 ", " fin-wait-2
", " time-wait ", " closed ", " close-wait ", " last-ack ", " -.BR listen " and " closing.
+.BR listening " and " closing.
.B all
- for all the states
.B connected
- all the states except for
-.BR listen " and " closed
+.BR listening " and " closed
.B synchronized
- all the
misc/ss.c +0 -0
@@ -3411,11 +3411,11 @@ static void _usage(FILE *dest)" -F, --filter=FILE read filter information from FILE\n" " FILTER := [ state STATE-FILTER ] [ EXPRESSION ]\n" " STATE-FILTER :=
{all|connected|synchronized|bucket|big|TCP-STATES}\n"
-" TCP-STATES :=
{established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|la st-ack|listen|closing}\n"
+" TCP-STATES :=
{established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|la st-ack|listening|closing}\n"
" connected :=
{established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack| closing}\n"
" synchronized :=
{established|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\
n"
" bucket := {syn-recv|time-wait}\n"
-" big :=
{established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listen|closi ng}\n"
+" big :=
{established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listening|cl osing}\n"
);
}
Quoted 82 lines · On Tue, 9 Jun 2015 19:49:01 -0700 "Brian Dyson" <[email protected]> wrote:
Minor change to correct states in ss command documentation and command line help.
The correct state term is 'listening' not 'listen' (see definition ofsstate_namelinmisc/ss.c).Signed-off-by Brian Dyson <[email protected]>--- doc/ss.sgml | 4 ++-- man/man8/ss.8 | 4 ++-- misc/ss.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)doc/ss.sgml +1
-1@@ -371,10 +371,10 @@ Available identifiers are: <itemize> <item> All standard TCP states: <tt/established/, <tt/syn-sent/, <tt/syn-recv/, <tt/fin-wait-1/, <tt/fin-wait-2/, <tt/time-wait/, -<tt/closed/, <tt/close-wait/, <tt/last-ack/, <tt/listen/ and <tt/closing/. +<tt/closed/, <tt/close-wait/, <tt/last-ack/, <tt/listening/ and<tt/closing/.
<item><tt/all/ - for all the states
-<item><tt/connected/ - all the states except for <tt/listen/ and <tt/closed/
+<item><tt/connected/ - all the states except for <tt/listening/ and <tt/closed/
<item><tt/synchronized/ - all the <tt/connected/ states except for <tt/syn-sent/
<item><tt/bucket/ - states, which are maintained as minisockets, i.e.man/man8/ss.8 +0
-0@@ -142,14 +142,14 @@ Available identifiers are: All standard TCP states: .BR established ", " syn-sent ", " syn-recv ", " fin-wait-1 ", " fin-wait-2", " time-wait ", " closed ", " close-wait ", " last-ack ", " -.BR listen " and " closing.
+.BR listening " and " closing..B all
- for all the states.B connected
- all the states except for
-.BR listen " and " closed
+.BR listening " and " closed.B synchronized
- all themisc/ss.c +0
-0@@ -3411,11 +3411,11 @@ static void _usage(FILE *dest)" -F, --filter=FILE read filter information from FILE\n" " FILTER := [ state STATE-FILTER ] [ EXPRESSION ]\n" " STATE-FILTER :={all|connected|synchronized|bucket|big|TCP-STATES}\n"
-" TCP-STATES :=
{established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|la st-ack|listen|closing}\n"
+" TCP-STATES :=
{established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|la st-ack|listening|closing}\n"
" connected :=
{established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack| closing}\n"
" synchronized :=
{established|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\
n"
" bucket := {syn-recv|time-wait}\n"
-" big :=
{established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listen|closi ng}\n"
+" big :=
{established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listening|cl osing}\n"
Quoted 2 lines
);}
The patch has been corrupted by linewrapping in your mailer and therefore can not be applied. Please figure out how to send a patch that does not cause extra line breaks.