mirror of
https://github.com/opnsense/src.git
synced 2026-05-20 17:09:30 -04:00
sockstat was checking whether a bound address was "host 0", the lowest
host on a network, using inet_lnaof(). This only works for class A/B/C.
However, it isn't useful to bind such an address unless it is really
the unspecified address INADDR_ANY. Change the check to to use that.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| Makefile.depend | ||
| sockstat.1 | ||
| sockstat.c | ||