]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1375: snmp cacheClientTable fails on "long" IP addresses
authorserassio <>
Sat, 3 Sep 2005 16:05:46 +0000 (16:05 +0000)
committerserassio <>
Sat, 3 Sep 2005 16:05:46 +0000 (16:05 +0000)
Forward port of 2.5 patch.

src/client_db.cc

index 32314b247d310cc187f7ec630fd1cab587b22cbf..524f67b2853800db27b4ac9ed2e26e0d1d7beee8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_db.cc,v 1.63 2005/04/18 21:52:42 hno Exp $
+ * $Id: client_db.cc,v 1.64 2005/09/03 10:05:46 serassio Exp $
  *
  * DEBUG: section 0     Client Database
  * AUTHOR: Duane Wessels
@@ -414,7 +414,7 @@ variable_list *
 snmp_meshCtblFn(variable_list * Var, snint * ErrP)
 {
     variable_list *Answer = NULL;
-    static char key[15];
+    static char key[16];
     ClientInfo *c = NULL;
     int aggr = 0;
     log_type l;