
4 Jun
2009
4 Jun
'09
12:12 p.m.
On Thu, Jun 04, 2009 at 10:56:25AM +0200, Andr? Nogueira wrote:
I tried to use this function:
SmiNode *smiGetNodeByOID(unsigned int oidlen, SmiSubid oid[]);
[...]
root@debian:/home/neolink# gcc -o libsmi_code_test libsmi_code_test.c -lsmi root@debian:/home/neolink# ./libsmi_code_test ?iso
Your program is not loading any MIB modules and hence the only thing libsmi knows are the root nodes of the OID tree and this is what smiGetNodeByOID() returns.
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany
Fax: +49 421 200 3103 http://www.jacobs-university.de/