Hello,
I am presently using libsmi-0.3.1 on Windows NT.
I am using the following code given below:
for((smiNode = smiGetNode(NULL, "1.3")) && (oidlen =
smiNode->oidlen);
smiNode && (first || smiNode->oidlen > oidlen);
smiNode = smiGetNextNode(smiNode, SMI_NODEKIND_ANY),
first = 0)
{
printf("%*s%-32s\n", (smiNode->oidlen - oidlen + 1) *
2, " ", smiNode->name);
};
When I load the standard mib files distributed along with the libsmi
like SNMPv2-MIB and SNMPv2-SMI. The above code prints the values till
snmpObsoleteGroup.
But when I load any private mib file. The above code prints the values
till the private mibs and doesn't print anything from security onwards.
Kindly advise me on what could be wrong here.
Thanks,
Yogesh