linux.c: Check for IPv4-mapped IPv6 addresses.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 4 Jun 2018 01:56:44 +0000 (02:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 4 Jun 2018 02:09:32 +0000 (03:09 +0100)
commit267505410875df7012ad8220c506602d7b173ac3
tree91b7f22dcd5c589db62abf04a782b0e5cbeefb3e
parentb2f74a8a9fb24520ad79ad03ae265950fc737efa
linux.c: Check for IPv4-mapped IPv6 addresses.

Clients which use IPv4-mapping rather than proper IPv4 sockets get
listed in `/proc/net/tcp6' rather than in `/proc/net/tcp'.  Cope with
this by searching the latter if we can't find the entry we want in the
former.
linux.c