diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-11-18 23:30:25 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-11-19 00:41:06 +1100 |
commit | 2c151d8082d9a7969e8775c410601f308d0011ab (patch) | |
tree | 2a20a8c8ff25d22d03e2618f690fc2a2680fb4f5 /src | |
parent | 71fd66c8668ae35847fa8868cc34b5a575fa1fea (diff) | |
download | tor-2c151d8082d9a7969e8775c410601f308d0011ab.tar.gz tor-2c151d8082d9a7969e8775c410601f308d0011ab.zip |
Update comments in get_interface_addresses_ioctl
Comment-only change noting platforms that can return IPv6
addresses from SIOCGIFCONF (or SIOCGLIFCONF).
Diffstat (limited to 'src')
-rw-r--r-- | src/common/address.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c index cfa8fd1dca..aef229b02c 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -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)); |