Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve scope IDs using IPv6 sockets
On certain systems (Solaris), resolving the scope id from an interface name can only be done on AF_INET-domain sockets. While we're here, simplify the test while we're here, since there's only one address. Also note that the loopback interface name is not stable across OSs. BSDs and Solaris use `lo0` whilst Linux uses `l0`.
- Loading branch information