aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-16 18:15:31 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-16 18:15:31 +0100
commit4eb4c0f4beeb87e07bd6b10daed8fe8e48fb4206 (patch)
treea54ec7b6b4622aa35ef7bd1efc58ab8ec45749ae /bitlbee.c
parent896195002cc903ec4b1ef7e1468f73c1dc08df9e (diff)
parentca605509d0b49e6012d10ae5d1553ced007e6ce7 (diff)
merge in upstream changes
Diffstat (limited to 'bitlbee.c')
-rw-r--r--bitlbee.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitlbee.c b/bitlbee.c
index 8785ecf0..52acafa4 100644
--- a/bitlbee.c
+++ b/bitlbee.c
@@ -47,7 +47,11 @@ int bitlbee_daemon_init()
memset( &hints, 0, sizeof( hints ) );
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE;
+ hints.ai_flags = AI_PASSIVE
+#ifdef AI_ADDRCONFIG
+ | AI_ADDRCONFIG
+#endif
+ ;
i = getaddrinfo( global.conf->iface, global.conf->port, &hints, &addrinfo_bind );
if( i )