jdc
40b89794d7
Don't print "default" when the netmask is non-zero.
...
Also tested by mlelstv@.
2006-12-23 11:05:14 +00:00
mlelstv
05f80f69b3
avoid signed/unsigned error when computing mask lengths for empty
...
masks with sa_len == 0 (happens for inet6 default route).
2006-10-03 08:30:12 +00:00
elad
b77c058061
We now have CARP, so don't skip IFT_CARP in link_print().
2006-09-16 12:25:11 +00:00
christos
13a976b45e
print "-"'s for the statistics that we don't support in the sysctl interface
...
and make columns aligned again.
2006-09-14 20:42:34 +00:00
christos
13b8a79d82
PR/33677: Scott Ellis: Building with MKINET6=no causes netstat to fail compiling
2006-06-09 16:39:11 +00:00
elad
5d7aa1a613
Make netstat use sysctl when dumping routing tables/stats.
...
Heavily based on similar code from Claudio Jeker (at OpenBSD).
While here, fix inet/inet6 sysctl stuff commited previously to
actually work, and some other nits to make netstat more sysctl
friendly.
One step closer to losing setgid kmem on this one...
2006-05-28 16:51:40 +00:00