aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-01-04 12:16:58 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-01-04 12:16:58 +0100
commit2a6ca4f4d8c8ec86b8bb38442189c85a001a5f6c (patch)
treee729b90180c52018171acc5947b9ea18cb9bb479 /conf.c
parent13c4cd343f661fae01660fa8b889c9dfac4a36ef (diff)
Better handling of IPv4 connections in IPv6 mode. (Wrapping/Unwrapping of ::ffff:style addresses.)
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 81340e3f..6ec20015 100644
--- a/conf.c
+++ b/conf.c
@@ -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;