]> arthur.barton.de Git - ngircd-alex.git/blobdiff - doc/sample-ngircd.conf
IPv6: Add config options to disabe ipv4/ipv6 support.
[ngircd-alex.git] / doc / sample-ngircd.conf
index 13014d32a0fb6d8ee1afc1904ab8428db658a523..9f107a83f42e524da59a604d5879509d069a3e9f 100644 (file)
        # Don't do any DNS lookups when a client connects to the server.
        ;NoDNS = no
 
+       # allow both ipv4 and ipv6 clients to connect by opening both
+       # ipv4 and ipv6 sockets
+       ;ListenIPv6 = yes
+       ;ListenIPv4 = yes
+
+       # try to connect to other irc servers using ipv4 and ipv6, if possible
+       ;ConnectIPv6 = yes
+       ;ConnectIPv4 = yes
+
        # Maximum number of simultaneous connection the server is allowed
        # to accept (0: unlimited):
        ;MaxConnections = 0