From: wessels <> Date: Tue, 19 Jan 1999 08:13:47 +0000 (+0000) Subject: cast X-Git-Tag: SQUID_3_0_PRE1~2389 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f89fe82ea7fc8876055b965d6c5ab70c8f0e548c;p=thirdparty%2Fsquid.git cast --- diff --git a/src/snmp_core.cc b/src/snmp_core.cc index 11f6971dd4..7f50c51097 100644 --- a/src/snmp_core.cc +++ b/src/snmp_core.cc @@ -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)) {