Re: snmp_parse_oid usage

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 6 July 2010 10:37, Norasyikin MD Ali <[email protected]> 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.