HomeFreeBSD

sockstat: show path state column only when useful

Description

sockstat: show path state column only when useful

Showing the path state column is only useful, if there is at least one
SCTP endpoint shown, which is not in the state CLOSED or LISTEN.
Don't show it when it is not useful.

Reviewed by: rrs
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D52986

Details

Provenance
tuexenAuthored on Oct 9 2025, 7:16 PM
Reviewer
rrs
Differential Revision
D52986: sockstat: show path state column only when useful
Parents
rG98b2a2265f5e: sockstat: improve output formatting
Branches
Unknown
Tags
Unknown