aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
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;