Author: Alex Badea <decampos@users.sourceforge.net>
authorAlex Badea <vamposdecampos@gmail.com>
Sun, 22 Aug 2004 12:54:50 +0000 (12:54 +0000)
committerAlex Badea <vamposdecampos@gmail.com>
Sun, 22 Aug 2004 12:54:50 +0000 (12:54 +0000)
Log message:

Increasd SOCKIPLEN for ipv6

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1096 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
include/ircd_defs.h

index 1c30fbab6f60abb04b13337b90dc258e88c02e77..599ebb1d484b4e6e4959eba98cd3fd4b9a996aa2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-22  Alex Badea  <decampos@users.sourceforge.net>
+
+       * include/ircd_defs.h: increased SOCKIPLEN to fit ipv6 addresses
+
 2004-08-19  Michael Poole <mdpoole@troilus.org>
 
        * include/res.h: Remove unused function gethost_byname_type().
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
  */