HomeFreeBSD

systat: clean up code assuming network classes

Description

systat: clean up code assuming network classes

Similar to netstat, clean up code that uses inet_lnaof() to check for
binding to "host 0" (lowest host on network) as a "network" bind.
Such things don't happen, and current networks are seldom if ever
found in /etc/networks.

(cherry picked from commit a2e7dfca86497e535039a42cfc44cfc48209abf5)

Details

Provenance
karelsAuthored on Oct 28 2021, 11:39 PM
Parents
rG5abf4c8aa762: sockstat: change check for wildcard sockets to avoid historical classes
Branches
Unknown
Tags
Unknown