mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +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
71fd66c866
commit
2c151d8082
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue