short IPv6 string lengths
Antonio Querubin
tony at lava.net
Wed Apr 3 12:01:20 UTC 2002
This increases the lengths of ClientIpString and ServerIpString which were
6 characters short.
-- Attached file included as plaintext by Ecartis --
-- File: nnrpd.h.diff
-- Desc: for CURRENT snapshot
--- nnrpd/nnrpd.h.orig Sat Mar 30 00:00:50 2002
+++ nnrpd/nnrpd.h Wed Apr 3 01:40:38 2002
@@ -131,8 +131,8 @@
EXTERN char ServerHost[SMBUF];
EXTERN char Username[SMBUF];
#ifdef HAVE_INET6
-EXTERN char ClientIpString[40];
-EXTERN char ServerIpString[40];
+EXTERN char ClientIpString[INET6_ADDRSTRLEN];
+EXTERN char ServerIpString[INET6_ADDRSTRLEN];
#else
EXTERN char ClientIpString[20];
EXTERN char ServerIpString[20];
More information about the inn-patches
mailing list