From fd73022292ca51eab2c9838505abbf1d36e81197 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 24 Feb 2011 11:15:44 -0800 Subject: Don't use AI_ADDRCONFIG at all for setting up a listening socket, since it only seems to cause problems when other programs don't use it. I hope this won't introduce new other problems.. --- bitlbee.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bitlbee.c') diff --git a/bitlbee.c b/bitlbee.c index d53bfe71..0e1415e8 100644 --- a/bitlbee.c +++ b/bitlbee.c @@ -86,7 +86,11 @@ int bitlbee_daemon_init() hints.ai_socktype = SOCK_STREAM; hints.ai_flags = AI_PASSIVE #ifdef AI_ADDRCONFIG - | AI_ADDRCONFIG + /* Disabled as it may be doing more harm than good: this flag + ignores IPv6 addresses on lo (which seems reasonable), but + the result is that some clients (including irssi) try to + connect to ::1 and fail. + | AI_ADDRCONFIG */ #endif ; -- cgit v1.2.3