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

(cherry picked from commit 746eadecaa7dc8913721cbaa9be4e603bd36ea49)

Details

Provenance
tuexenAuthored on Oct 9 2025, 7:16 PM
Reviewer
rrs
Differential Revision
D52986: sockstat: show path state column only when useful
Parents
rG3264445f8826: Revert "Merge commit e24f90190c77 from llvm git (by Brad Smith):"
Branches
Unknown
Tags
Unknown