--------------------- PatchSet 6161 Date: 2007/11/21 08:28:45 Author: rmartinez Branch: squid3-ipv6 Tag: (none) Log: Some usefull debug traces Members: src/snmp_core.cc:1.10.8.28->1.10.8.29 Index: squid3/src/snmp_core.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/snmp_core.cc,v retrieving revision 1.10.8.28 retrieving revision 1.10.8.29 diff -u -r1.10.8.28 -r1.10.8.29 --- squid3/src/snmp_core.cc 21 Nov 2007 08:19:50 -0000 1.10.8.28 +++ squid3/src/snmp_core.cc 21 Nov 2007 08:28:45 -0000 1.10.8.29 @@ -1,6 +1,6 @@ /* - * $Id: snmp_core.cc,v 1.10.8.28 2007/11/21 08:19:50 rmartinez Exp $ + * $Id: snmp_core.cc,v 1.10.8.29 2007/11/21 08:28:45 rmartinez Exp $ * * DEBUG: section 49 SNMP support * AUTHOR: Glenn Chisholm @@ -1182,6 +1182,9 @@ // OID's are in network order Dest[1+i] = *cp++; } + debugs(49, 7, "addr2oid: Dest : "); + snmpDebugOid(7, Dest, size + 1); + } /* @@ -1209,6 +1212,8 @@ size = sizeof(struct in_addr) ; cp = (u_char *) &(iaddr.s_addr); #endif /* USE_IPV6 */ + debugs(49, 7, "oid2addr: id : "); + snmpDebugOid(7, id, size); for(i=0 ; i