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_* macros when checking the values of securityModel
MF> variables so this just looked different. Is this a problem?

I think it is a problem, as NETSNMP_SECMOD_USM is from acconfig.h and is a
flag for whether or not USM is available, and is NOT a protocol value!
Excellent catch...

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to