]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Document port range stuff
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 11 Nov 2006 14:46:52 +0000 (14:46 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 11 Nov 2006 14:46:52 +0000 (14:46 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5688 e03df62e-2008-0410-955e-edbf42e46eb7

docs/inspircd.conf.example

index 6153d958fb1285b17a736825e2374f8ae35eb7ea..198819822b29ee3ce62547b798c74e10013b7972 100644 (file)
 #  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  #
 # 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   -#-#-#-#-#-#-#-#-#-#-