HomeFreeBSD

netstat: display c and C flags properly

Description

netstat: display c and C flags properly

Restructure c and C flag checks for string length to
work properly. Quickly bypass for non TCP protos too.

Reviewed By: tuexen
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D40480

Details

Provenance
rscheffAuthored on Jun 9 2023, 9:57 PM
Reviewer
tuexen
Differential Revision
D40480: netstat: display c and C flags properly
Parents
rGaf9ce4e9bb7d: kern_ntptime: Fix undefined behavior of the shift operator
Branches
Unknown
Tags
Unknown