mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Update comments in get_interface_addresses_ioctl
Comment-only change noting platforms that can return IPv6 addresses from SIOCGIFCONF (or SIOCGLIFCONF).
This commit is contained in:
parent
86eba14ac5
commit
878b5738c2
@ -1469,7 +1469,8 @@ get_interface_addresses_ioctl(int severity)
|
||||
int fd;
|
||||
smartlist_t *result = NULL;
|
||||
|
||||
/* This interface, AFAICT, only supports AF_INET addresses */
|
||||
/* This interface, AFAICT, only supports AF_INET addresses,
|
||||
* except on AIX. For Solaris, we could use SIOCGLIFCONF. */
|
||||
fd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
if (fd < 0) {
|
||||
tor_log(severity, LD_NET, "socket failed: %s", strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user