Re: snmpv3_scopedPDU_parse

2010-11-03 Thread Robert Story
On Tue, 02 Nov 2010 23:31:27 +0100 Magnus wrote: MF> In snmpv3_scopedPDU_parse there is the line MF> MF> if (pdu->securityModel == NETSNMP_SECMOD_USM && MF> MF> that I think looks odd. All other places in snmp_api seems to use the MF> SNMP_SEC_MODEL_* macro

snmpv3_scopedPDU_parse

2010-11-02 Thread Magnus Fromreide
Hello. In snmpv3_scopedPDU_parse there is the line if (pdu->securityModel == NETSNMP_SECMOD_USM && that I think looks odd. All other places in snmp_api seems to use the SNMP_SEC_MODEL_* macros when checking the values of securityModel variables so this just looked different. Is thi