Commit Graph

10 Commits

Author SHA1 Message Date
rpaulo
fcf2b555d7 If the specificed MIB doesn't exist, then it's probably a kernel without
that socket type (AF_INET, AF_INET6, etc.). That's a normal condition, so
don't bail out.

Reviewed by Andrew Brown.
2005-08-24 21:33:57 +00:00
rpaulo
cccbf666c8 Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmi
on PR#30963.

ok atatat@
2005-08-10 20:32:57 +00:00
rpaulo
0459285527 Fix a typo in the islistening() routine. Patch provided by Jukka Salmi
on PR#30963.
2005-08-10 20:21:14 +00:00
lukem
ef45472693 appease gcc -Wuninitialized 2005-06-02 03:00:19 +00:00
atatat
04274e4899 Don't allow the command length to mess up the formatting 2005-04-09 02:10:27 +00:00
peter
c36f9da926 Fix a typo. 2005-03-22 15:51:35 +00:00
atatat
1a773e1da4 Fix printing of AF_LOCAL names. 2005-03-10 05:39:54 +00:00
kleink
fcbd09f9f1 Field width and precision specifier arguments to printf must be ints. 2005-03-09 19:09:05 +00:00
atatat
900e40a9ae almost forgot about this.
Optimize getting process information by not getting it again if you're
looking for the same pid.
2005-03-09 05:53:47 +00:00
atatat
724bd01950 Add a sockstat(1) command that can list open sockets and the processes
that own them.  The implementation concept and man page came largely
from FreeBSD, but the program is fresh.
2005-03-09 05:20:05 +00:00