Author: Alex Badea <decampos@users.sourceforge.net>
[ircu2.10.12-pk.git] / include / ircd_defs.h
index f489f5c295373c646885069faf1c7139f34cdd3b..3cfe28c7ca578731d3cc3b6bc7ad7e435a0787bb 100644 (file)
  */
 #define PASSWDLEN       20
 /*
- * SOCKIPLEN is the length of a dotted quad ip address "XXX.XXX.XXX.XXX"
+ * SOCKIPLEN is the maximum length of a numeric IP (v4 or v6) address
+ * "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"
  */
-#define SOCKIPLEN 15
+#define SOCKIPLEN 45
 /*
  * TOPICLEN is the maximum length for channel topics and kill comments
  */