aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-04-06 16:34:25 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2008-04-06 16:34:25 +0100
commitaefaac3a5d44537bdf804d1f42e491cc2b931889 (patch)
tree9fa2b9efc24fd39452db57836f38dc12c8f83398 /bitlbee.c
parentaa311173a85020bcbbbf61135a5451e171d422f5 (diff)
Added ClientInterface configuration option to make BitlBee bind() to a
specific interface before connecting to a remote host.
Diffstat (limited to 'bitlbee.c')
-rw-r--r--bitlbee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitlbee.c b/bitlbee.c
index 230b8ce8..17431546 100644
--- a/bitlbee.c
+++ b/bitlbee.c
@@ -53,11 +53,11 @@ int bitlbee_daemon_init()
#endif
;
- i = getaddrinfo( global.conf->iface, global.conf->port, &hints, &addrinfo_bind );
+ i = getaddrinfo( global.conf->iface_in, global.conf->port, &hints, &addrinfo_bind );
if( i )
{
log_message( LOGLVL_ERROR, "Couldn't parse address `%s': %s",
- global.conf->iface, gai_strerror(i) );
+ global.conf->iface_in, gai_strerror(i) );
return -1;
}