[Telepathy-commits] [telepathy-gabble/master] the not getifaddrs version of get_local_interfaces_ips should support IPv6 too
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Mar 16 03:08:28 PDT 2009
---
src/bytestream-socks5.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/bytestream-socks5.c b/src/bytestream-socks5.c
index 1771b3c..5de87f3 100644
--- a/src/bytestream-socks5.c
+++ b/src/bytestream-socks5.c
@@ -1477,6 +1477,7 @@ get_local_interfaces_ips (gboolean include_loopback)
struct sockaddr_in *sa;
gchar *loopback = NULL;
+ /* FIXME: add IPv6 addresses */
if ((sockfd = socket (AF_INET, SOCK_DGRAM, IPPROTO_IP)) < 0)
{
DEBUG ("Cannot open socket to retreive interface list");
--
1.5.6.5
More information about the telepathy-commits
mailing list