On 6 July 2010 10:37, Norasyikin MD Ali <norasyikin.md_...@3roam.com> wrote:
>      snmp_set_var_typed_value(idx, ASN_OBJECT_ID,
>                   value,rootlen);

Try
     snmp_set_var_typed_value(idx, ASN_OBJECT_ID, root, rootlen);

You need to provide it with the parsed OID array value, not the string version.

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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

Reply via email to