HomeFreeBSD

sockstat: revert incorrect use of path-state for SCTP connections

Description

sockstat: revert incorrect use of path-state for SCTP connections

Revert a change that mistakenly used SCTP path state and the field name
path-state instead of the correct conn-state and sctp_conn_state()
call. This was introduced in 7b35b4d during the addition of libxo
support.

Fixes: 7b35b4d ("sockstat: add libxo support")
Reported by: Phil Shafer <phil@juniper.net>
Sponsored by: Google, LLC (GSoC 2025)
Pull Request: https://github.com/freebsd/freebsd-src/pull
Reviewed by: asomers

Details

Provenance
Damin Rido <rido@freebsd.org>Authored on Aug 2 2025, 4:59 PM
asomersCommitted on Aug 8 2025, 4:16 PM
Parents
rG50dee972977a: cap_fileargs.3: Polish
Branches
Unknown
Tags
Unknown