summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netgraph.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-05-27 19:23:27 +0000
committernjl <njl@FreeBSD.org>2004-05-27 19:23:27 +0000
commit543df2d4d6104ac8fe1444129a7c7fb47b488b3f (patch)
treeab52a84242734802742a6cc269515b041ae6f8c8 /usr.bin/netstat/netgraph.c
parentfa603e929d266049001b489b9a22e7a556d4b6e0 (diff)
downloadFreeBSD-src-543df2d4d6104ac8fe1444129a7c7fb47b488b3f.zip
FreeBSD-src-543df2d4d6104ac8fe1444129a7c7fb47b488b3f.tar.gz
Check for >= 255 since sign extension from byte to u_int sometimes makes
the value for "unknown" 0xffffffff. The underlying kernel drivers should be updated to only return 255 but the ABI is used by too many userland utilities. Also, make this WARNS 6 compatible.
Diffstat (limited to 'usr.bin/netstat/netgraph.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud