diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-02-05 12:05:35 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-02-05 12:05:35 +0000 |
| commit | cb60a8de59e2ad76b0dd06d1ff290124b34edc22 (patch) | |
| tree | 6d6c6006a10c3e61ce155f00a36b3ac6619b75f9 /usr.bin | |
| parent | 22a4e209058ba4ba9d2961517661733f85b20868 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/netstat/inet6.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index b1dcf4971024..4eb898d2c1be 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -139,7 +139,7 @@ static const char *ip6nh[] = { "no next header", "destination option", "#61", - "#62", + "mobility", "#63", "#64", "#65", @@ -970,7 +970,8 @@ pim6_stats(u_long off __unused, const char *name, int af1 __unused) if (off == 0) return; - kread(off, (char *)&pim6stat, sizeof(pim6stat)); + if (kread(off, (char *)&pim6stat, sizeof(pim6stat))) + return; printf("%s:\n", name); #define p(f, m) if (pim6stat.f || sflag <= 1) \ |
