about summary refs log tree commit diff
path: root/src/ipaddr/ng_ipaddr.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-05-19 00:12:41 +0200
committerFlorian Westphal <fw@strlen.de>2008-05-19 14:27:35 +0200
commit4ed2cb1a0248130f476ff9afd4fd4ed887fee376 (patch)
treecc36b59cd11ae640e10a827ab5b5c2a0456fed3b /src/ipaddr/ng_ipaddr.h
parent818a206a4261f3d4153b0ab5c2025d77002290f5 (diff)
downloadngircd-4ed2cb1a0248130f476ff9afd4fd4ed887fee376.tar.gz
ngircd-4ed2cb1a0248130f476ff9afd4fd4ed887fee376.zip
make Listen parameter a comma-seperated list of addresses.
this also obsoletes ListenIPv4 and ListenIPv6 options.
If Listen is unset, it is treated as Listen="::,0.0.0.0".

Note: ListenIPv4 and ListenIPv6 options are still recognized,
but ngircd will print a warning if they are used in the config file.

Also, some plattforms require that ai_socktype
is set in the getaddrinfo() hints structure.
Diffstat (limited to 'src/ipaddr/ng_ipaddr.h')
-rw-r--r--src/ipaddr/ng_ipaddr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ipaddr/ng_ipaddr.h b/src/ipaddr/ng_ipaddr.h
index 7894af25..6490a074 100644
--- a/src/ipaddr/ng_ipaddr.h
+++ b/src/ipaddr/ng_ipaddr.h
@@ -84,7 +84,6 @@ ng_ipaddr_getport(const ng_ipaddr_t *a)
  * init a ng_ipaddr_t object.
  * @param addr: pointer to ng_ipaddr_t to initialize.
  * @param ip_str: ip address in dotted-decimal (ipv4) or hexadecimal (ipv6) notation
- *                if ip_str is NULL it is treated as 0.0.0.0/[::]
  * @param port: transport layer port number to use.
  */
 GLOBAL bool ng_ipaddr_init PARAMS((ng_ipaddr_t *addr, const char *ip_str, UINT16 port));