Re: [convert string as oid]

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 16 February 2010 13:43, Ashish vashishtha
<[email protected]> wrote:
> i think snmp_parse_oid() function convert oids like ABCD to oid.

Whereas I think that snmp_parse_oid() converts a string representation
of an OID (in any of a variety of formats - including dotted-numeric)
into a numeric array.

May I humbly suggest that my beliefs are perhaps a shade more
likely to bear a passing resemblance to the actuality.....
     (or in plain English - you're wrong!)


> when i am trying this function with
> string str that contains 1.3.6.1.1.133.5 i am getting garbage values.

Then there must be something wrong with your code.
If you show us what you've got, maybe we could suggest
where the error is.

Dave

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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.