>>>>> On Thu, 08 Jun 2006 13:55:46 -0700, Rob Ballantyne <[EMAIL PROTECTED]>
>>>>> said:
Rob> I have noticed that struct tree contains a char *description field.
Rob> I assume that this is for the 'DESCRIPTION' portion of the OBJECT-TYPE
Rob> ASN.1 Macro. I've looked around in the mib tree, using
Rob> find_tree_node(), and it appears description is always nil
Rob> (NULL?).
By default the MIB parser does not turn on DESCRIPTION string storage
in particular because it takes more memory. Early in your program
call:
snmp_set_save_descriptions(1);
before calling init_snmp() to force saving of the DESCRIPTION clauses.
--
Wes Hardaker
Sparta, Inc.
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders