summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 14:46:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 14:46:52 +0000
commite335c13fb8acb676cdf8b5abfb2b0c3203212db5 (patch)
tree8348aa20e89df6fe927af6112a45d2bb4822b3e2
parentb6df59028d6a1351be5cc9c75a931c60d734b6c5 (diff)
Document port range stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5688 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--docs/inspircd.conf.example14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index 6153d958f..198819822 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -82,7 +82,14 @@
# bind address - specifies which address ports bind to. Leaving this #
# field blank binds the port to all IPs available. #
# #
-# port - The port number to bind to #
+# port - The port number to bind to. You may specify a port #
+# range here, e.g. "6667-6669,7000,7001". If you do #
+# this, the server will count each port within your #
+# range as a seperate binding, making the above #
+# example equivalent to five seperate bind tags. #
+# A failure on one port in the range does not prevent #
+# the entire range from being bound, just that one #
+# port number. #
# #
# type - can be 'clients' or 'servers'. The clients type is #
# a standard tcp based socket, the servers type is a #
@@ -116,9 +123,8 @@
# default) then you do not need to prefix your addresses like this. #
# #
-<bind address="" port="6660" type="clients">
-<bind address="" port="7000" type="servers">
-<bind address="" port="7001" type="servers">
+<bind address="" port="6660-6669" type="clients">
+<bind address="" port="7000,7001" type="servers">
#-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-