> ... > So, snmp_open() appears to not be copying the community string. > How come? I'll look into it a bit shortly.
I think I found the problem. Around line 998 of snmplib/snmp_api.c, there is a recent addition of: #if !defined(DISABLE_SNMPV1) || !defined(DISABLE_SNMPV2C) which DeMorgan tells us is really: #if defined(DISABLE_SNMPV1) && defined(DISABLE_SNMPV2C) and if I read the code around it properly, this says that community strings will *only* be copied if *neither* SNMPv1 or SNMPv2c was compiled into the agent. Not what was intended, I imagine. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users