--------------------- PatchSet 5834 Date: 2007/09/25 07:39:07 Author: rmartinez Branch: squid3-ipv6 Tag: (none) Log: A typo: forgot val_len on previous commit Members: src/snmp_agent.cc:1.7.4.9->1.7.4.10 Index: squid3/src/snmp_agent.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/snmp_agent.cc,v retrieving revision 1.7.4.9 retrieving revision 1.7.4.10 diff -u -r1.7.4.9 -r1.7.4.10 --- squid3/src/snmp_agent.cc 25 Sep 2007 07:35:12 -0000 1.7.4.9 +++ squid3/src/snmp_agent.cc 25 Sep 2007 07:39:07 -0000 1.7.4.10 @@ -1,6 +1,6 @@ /* - * $Id: snmp_agent.cc,v 1.7.4.9 2007/09/25 07:35:12 rmartinez Exp $ + * $Id: snmp_agent.cc,v 1.7.4.10 2007/09/25 07:39:07 rmartinez Exp $ * * DEBUG: section 49 SNMP Interface * AUTHOR: Kostas Anagnostakis @@ -229,6 +229,7 @@ // See: rfc2465.txt, rfc4001.txt Answer = snmp_var_new(Var->name, Var->name_length); Answer->type = ASN_OCTET_STR; + Answer->val_len = sizeof(struct in6_addr);// Use a symbolic constant. struct in6_addr *iaddr6 = (struct in6_addr *)Answer->val.string; laddr.GetInAddr(*iaddr6); }