diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-04-06 16:34:25 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-04-06 16:34:25 +0100 |
commit | aefaac3a5d44537bdf804d1f42e491cc2b931889 (patch) | |
tree | 9fa2b9efc24fd39452db57836f38dc12c8f83398 /bitlbee.c | |
parent | aa311173a85020bcbbbf61135a5451e171d422f5 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |