X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=doc%2Fexample.conf;h=ae0aa5cf4d60c5a836564d6f7d9a04d1aa3fcebc;hb=dcecf316a0813ae009af5aaa2ca938a53c1a3835;hp=cbb4d7e4539d4353cd3b9a299cfc3a11776f4397;hpb=ef4270d668183cf9e9a3d96cab7f305c5c5f1aa7;p=ircu2.10.12-pk.git diff --git a/doc/example.conf b/doc/example.conf index cbb4d7e..ae0aa5c 100644 --- a/doc/example.conf +++ b/doc/example.conf @@ -650,16 +650,20 @@ Operator { # so we don't do that. # # Port { -# port = number; +# port = [ipv4] [ipv6] number; # mask = "ipmask"; # # Use this to control the interface you bind to. -# vhost = "virtualhostip"; +# vhost = [ipv4] [ipv6] "virtualhostip"; # # Setting to yes makes this server only. # server = yes; # # Setting to yes makes the port "hidden" from stats. # hidden = yes; # }; # +# The port and vhost lines allow you to specify one or both of "ipv4" +# and "ipv6" as address families to use for the port. The default is +# to listen on both IPv4 and IPv6. +# # The mask setting allows you to specify a range of IP addresses that # you will allow connections from. This should only contain IP addresses # and '*' if used. This field only uses IP addresses. This does not use @@ -679,11 +683,11 @@ Port { port = 4400; }; -# This is a Server port that is Hidden +# This is an IPv4-only Server port that is Hidden Port { server = yes; hidden = yes; - port = 4401; + port = ipv4 4401; }; # The following are normal client ports