X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconf.h;h=6ec5bce909010e47075b672542bb398bf071ddd8;hp=d505f3390db01625f259d565bf7c9dffc4cc26dd;hb=4ed2cb1a0248130f476ff9afd4fd4ed887fee376;hpb=abb1abeb772c0876655c066d396f92ee46292c62 diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h index d505f339..6ec5bce9 100644 --- a/src/ngircd/conf.h +++ b/src/ngircd/conf.h @@ -86,7 +86,7 @@ GLOBAL char Conf_MotdPhrase[LINE_LEN]; GLOBAL array Conf_ListenPorts; /* Address to which the socket should be bound or empty (=all) */ -GLOBAL char Conf_ListenAddress[16]; +GLOBAL char *Conf_ListenAddress; /* User and group ID the server should run with */ GLOBAL uid_t Conf_UID; @@ -124,11 +124,14 @@ GLOBAL bool Conf_OperCanMode; /* Disable all DNS functions? */ GLOBAL bool Conf_NoDNS; -/* don't listen for incoming ipv6 connections, even if OS supports it? */ -GLOBAL bool Conf_NoListenIpv6; +/* + * try to connect to remote systems using the ipv6 protocol, + * if they have an ipv6 address? (default yes) + */ +GLOBAL bool Conf_ConnectIPv6; -/* don't connect to remote systems unsign ipv6? */ -GLOBAL bool Conf_NoConnectIpv6; +/* same as above, but for ipv4 hosts, default: yes */ +GLOBAL bool Conf_ConnectIPv4; /* If an IRC op gives chanop privileges without being a chanop, * ircd2 will ignore the command. This enables a workaround: