about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-04-21 00:45:19 +0200
committerFlorian Westphal <fw@strlen.de>2008-04-21 00:45:19 +0200
commit22fa782be7840dae825be43e9ac8d8476d80f08c (patch)
treebf4cfe16413cf9ad1507d5eb65250905557c0c60 /doc
parent2f6d7a649cf2428991cba3b9d2250b95a5904675 (diff)
downloadngircd-22fa782be7840dae825be43e9ac8d8476d80f08c.tar.gz
ngircd-22fa782be7840dae825be43e9ac8d8476d80f08c.zip
IPv6: Add config options to disabe ipv4/ipv6 support.
This also enables ipv6-only setups.
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index 13014d32..9f107a83 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -103,6 +103,15 @@
 	# 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