SNMP enums -- please help
Bik Mani <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, What do I need to get enums available at run time? I have a 32 bit data type (Bits) where each bit positioned is defined as an enum Bit00 .. Bit31 I tried to pass names like Bit21, Bit22 and do a lookup at run time to get the corresponding value: oid *name; .... struct tree *tp = get_tree(name, name_length, get_tree_head()); After the above call, tp->enums is NULL. Is there something I need to do so that the enums will be loaded from the MIB? Thank you, -bik --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.