On 12 November 2010 11:16, Sampige, Sahana Prabhakar (STSD) <sah...@hp.com> wrote: > session.securityEngineIDLen = strlen("0x80001f8880654ceb30a484dc4c"); > session.securityEngineID = (u_char*)malloc(session.securityEngineIDLen); > > memcpy(session.securityEngineID,"0x80001f8880654ceb30a484dc4c",session.securityEngineIDLen);
The securityEngineID should be a 13-octet *binary* value, not an ascii string. Try using snmp_hex_to_binary() to convert this string into the appropriate value. (See 'snmplib/snmp_parse_args.c' for an example) Dave ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users