From: serassio <> Date: Sat, 3 Sep 2005 16:05:46 +0000 (+0000) Subject: Bug #1375: snmp cacheClientTable fails on "long" IP addresses X-Git-Tag: SQUID_3_0_PRE4~651 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a702e8d7d3eee9687f1e4e03f8e240a5750540f;p=thirdparty%2Fsquid.git Bug #1375: snmp cacheClientTable fails on "long" IP addresses Forward port of 2.5 patch. --- diff --git a/src/client_db.cc b/src/client_db.cc index 32314b247d..524f67b285 100644 --- a/src/client_db.cc +++ b/src/client_db.cc @@ -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;