From f89fe82ea7fc8876055b965d6c5ab70c8f0e548c Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 19 Jan 1999 08:13:47 +0000 Subject: [PATCH] cast --- src/snmp_core.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.47.3