diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-02-24 11:15:44 -0800 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-02-24 11:15:44 -0800 |
commit | fd73022292ca51eab2c9838505abbf1d36e81197 (patch) | |
tree | 95b286465039fde6f6ad65dd416bca3f603891b3 /bitlbee.c | |
parent | bb8d7d1106ce91c54c671a1495420d57b9a57caf (diff) |
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..
Diffstat (limited to 'bitlbee.c')
-rw-r--r-- | bitlbee.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 ; |