Update listen block in example.conf to new format.

This commit is contained in:
Bram Matthys 2015-09-07 15:40:01 +02:00
parent a89d64869b
commit 972ef43a81

View file

@ -160,25 +160,35 @@ oper bobsmith {
* connect to this server.
*
* Syntax:
* listen <ip number>:<port number>
* listen {
* {
* ip <ip>;
* port <port>;
* options {
* <options....>;
* };
* };
*
* For IPv6 the IP (3ffe:b80:2:51d::2 etc) needs to be put in brackets
* like: listen [3ffe:b80:2:51d::2]:6667;
*/
/* Standard IRC port 6667 */
listen *:6667;
listen {
ip *;
port 6667;
};
/* Standard IRC SSL/TLS port 6697 */
listen *:6697 { options { ssl; }; };
listen {
ip *;
port 6697;
options { ssl; };
};
/* Special SSL/TLS servers-only port for linking */
listen *:6900 { options { ssl; serversonly; }; };
listen {
ip *;
port 6900;
options { ssl; serversonly; };
};
/* NOTE: If you are on an IRCd shell with multiple IP's and you use
* the above listen { } blocks then you will likely get an