Mercurial > pidgin.yaz
diff ChangeLog.API @ 29766:529233281dfe
network: Use getifaddrs() to enumerate local interfaces/IPs if available.
On Linux, it seems SIOCGIFCONF just doesn't support IPv6, and various
systems have getifaddrs(), so here we are. Fixes #10160.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 16 Feb 2010 02:21:33 +0000 |
parents | 05d727f76ca9 |
children | f549ad844d54 |
line wrap: on
line diff
--- a/ChangeLog.API Tue Feb 16 00:50:34 2010 +0000 +++ b/ChangeLog.API Tue Feb 16 02:21:33 2010 +0000 @@ -11,7 +11,10 @@ * purple_media_codec_copy * purple_media_manager_get_backend_type * purple_media_manager_set_backend_type - * purple_network_get_all_local_system_ips + * purple_network_get_all_local_system_ips, which returns all local + IPs on the system. On systems with the getifaddrs() function, + this will return both IPv4 and IPv6 addresses (excluding link-local + and loopback addresses). On others, it returns just IPv4 addresses. * purple_prpl_got_media_caps * purple_unescape_text * purple_uuid_random