From 2a6ca4f4d8c8ec86b8bb38442189c85a001a5f6c Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 4 Jan 2006 12:16:58 +0100 Subject: Better handling of IPv4 connections in IPv6 mode. (Wrapping/Unwrapping of ::ffff:style addresses.) --- bitlbee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitlbee.c') diff --git a/bitlbee.c b/bitlbee.c index b9021074..094e0b2f 100644 --- a/bitlbee.c +++ b/bitlbee.c @@ -88,7 +88,7 @@ int bitlbee_daemon_init() #ifdef IPV6 listen_addr.sin6_family = AF_INETx; listen_addr.sin6_port = htons( global.conf->port ); - i = inet_pton( AF_INETx, global.conf->iface, &listen_addr.sin6_addr ); + i = inet_pton( AF_INETx, ipv6_wrap( global.conf->iface ), &listen_addr.sin6_addr ); #else listen_addr.sin_family = AF_INETx; listen_addr.sin_port = htons( global.conf->port ); -- cgit v1.2.3