]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ipaddr/ng_ipaddr.h
New configuration option "NoIdent" to disable IDENT lookups
[ngircd-alex.git] / src / ipaddr / ng_ipaddr.h
index 32839d083a8ab1e7328864ee2e376805ac890e6e..6490a0747a9ac0f62ff4608c8d7cbaea9e8023a5 100644 (file)
@@ -9,6 +9,7 @@
 #include "portab.h"
 
 #include <sys/socket.h>
+#include <netinet/in.h>
 
 #ifdef HAVE_ARPA_INET_H
 # include <arpa/inet.h>
@@ -83,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));
@@ -115,3 +115,4 @@ ng_ipaddr_tostr_r(const ng_ipaddr_t *addr, char *d)
 #endif
 
 /* -eof- */
+