diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-01-04 12:16:58 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-01-04 12:16:58 +0100 |
commit | 2a6ca4f4d8c8ec86b8bb38442189c85a001a5f6c (patch) | |
tree | e729b90180c52018171acc5947b9ea18cb9bb479 /conf.c | |
parent | 13c4cd343f661fae01660fa8b889c9dfac4a36ef (diff) |
Better handling of IPv4 connections in IPv6 mode. (Wrapping/Unwrapping of ::ffff:style addresses.)
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,7 +45,11 @@ conf_t *conf_load( int argc, char *argv[] ) conf = g_new0( conf_t, 1 ); +#ifdef IPV6 + conf->iface = "::"; +#else conf->iface = "0.0.0.0"; +#endif conf->port = 6667; conf->nofork = 0; conf->verbose = 0; |