
Hi!
Yogeshwara> I am using the following code given below: Yogeshwara> for((smiNode = smiGetNode(NULL, "1.3")) && (oidlen = smiNode-> oidlen); Yogeshwara> smiNode && (first || smiNode->oidlen > oidlen); Yogeshwara> smiNode = smiGetNextNode(smiNode, SMI_NODEKIND_ANY), Yogeshwara> first = 0) Yogeshwara> { Yogeshwara> printf("%*s%-32s\n", (smiNode->oidlen - oidlen + 1) * Yogeshwara> 2, " ", smiNode->name); Yogeshwara> };
Yogeshwara> When I load the standard mib files distributed along with Yogeshwara> the libsmi like SNMPv2-MIB and SNMPv2-SMI. The above code Yogeshwara> prints the values till snmpObsoleteGroup. But when I load Yogeshwara> any private mib file. The above code prints the values Yogeshwara> till the private mibs and doesn't print anything from Yogeshwara> security onwards. Kindly advise me on what could be wrong Yogeshwara> here.
Please supply a 100% concrete scenario (full compilable code and your private MIBs). Otherwise I cannot reconstruct your problem. Maybe, your first missed object just does not fulfill the `smiNode->oidlen > oidlen' condition?!
-frank