diff options
author | 2011-04-09 13:52:05 +0000 | |
---|---|---|
committer | 2011-04-09 13:52:05 +0000 | |
commit | 74b2b5487338d65c468f76a7530c8c38692b56a1 (patch) | |
tree | afae7dc3e968b9f064d250bc5e4cbd51262e5543 /intl.h | |
parent | hostname: fix FQDN handling with AAAA records (diff) | |
download | net-tools-74b2b5487338d65c468f76a7530c8c38692b56a1.tar.gz net-tools-74b2b5487338d65c468f76a7530c8c38692b56a1.tar.bz2 net-tools-74b2b5487338d65c468f76a7530c8c38692b56a1.zip |
netstat: fix handling of large socket numbers
The kernel really only treats sockets with a value of -1 as an error.
The rest are an unsigned quantity. So tweak the nestat lookup to use
an unsigned value.
patch based on Antonio Galea's work in Debian bug 345331
Diffstat (limited to 'intl.h')
0 files changed, 0 insertions, 0 deletions