On Wed, 2005-07-27 at 09:54 +0530, [EMAIL PROTECTED] wrote:

>   I have to get the leaf node string of the OID in mib2c code . for
> example if the OID is 1.3.6.1.2.1.1.4 , i have to get the leaf node
> string in the mib definition as "sysContact".

Try 'snprint_objid'


> 
>   I tried by using netsnmp_oid2str(), netsnmp_oid2char().

No - that's something completely different (related to the
processing of string index values).


Dave


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to