]> arthur.barton.de Git - ngircd.git/commitdiff
Fix 'no-ipv6' compile error.
authorFlorian Westphal <fw@strlen.de>
Mon, 19 May 2008 12:59:35 +0000 (14:59 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 19 May 2008 12:59:35 +0000 (14:59 +0200)
src/ngircd/conf.c

index 554fee4a92d12e973c8b1f94864c8360e1dff6cf..fae36a54b920291b001a29661abc2e3f4311e0a1 100644 (file)
@@ -480,10 +480,11 @@ Set_Defaults( bool InitServers )
        Conf_OperServerMode = false;
 
        Conf_ConnectIPv4 = true;
-       Conf_ListenIPv4 = true;
        Conf_ConnectIPv6 = true;
+#ifdef WANT_IPV6
+       Conf_ListenIPv4 = true;
        Conf_ListenIPv6 = true;
-
+#endif
        Conf_MaxConnections = 0;
        Conf_MaxConnectionsIP = 5;
        Conf_MaxJoins = 10;