]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
cast
authorwessels <>
Tue, 19 Jan 1999 08:13:47 +0000 (08:13 +0000)
committerwessels <>
Tue, 19 Jan 1999 08:13:47 +0000 (08:13 +0000)
src/snmp_core.cc

index 11f6971dd43cee8b39b7ec236720ae2874e188e3..7f50c51097666910523e9820fb614b359dcace6a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: snmp_core.cc,v 1.27 1999/01/15 20:48:17 glenn Exp $
+ * $Id: snmp_core.cc,v 1.28 1999/01/19 01:13:47 wessels Exp $
  *
  * DEBUG: section 49    SNMP support
  * AUTHOR: Glenn Chisholm
@@ -670,7 +670,7 @@ snmpDecodePacket(snmp_request_t * rq)
     Community = snmp_parse(&Session, PDU, buf, len);
 
     checklist.src_addr = rq->from.sin_addr;
-    checklist.snmp_community = Community;
+    checklist.snmp_community = (char *) Community;
 
     allow = aclCheckFast(Config.accessList.snmp, &checklist);
     if ((snmp_coexist_V2toV1(PDU)) && (Community) && (allow)) {