
On Thu, Mar 21, 2013 at 03:15:28PM +0000, Jonathan Walker wrote:
Hello,
I have a MIB that currently has 70 revisions (IANAifType-MIB), and yet smiGetFirstRevision() is returning the 31st revision, and not the first. I'm using a DLL that I compiled myself, although I did not make any changes to the code base. LibSMI version 0.4.5. Please let me know if you require more information.
I can't reproduce this (note that smidump is internally calling smiGetFirstRevision() and smiGetNextRevision() to reproduce the SMIv2 module).
MacOS:
$ grep -c REVISION ./IANAifType-MIB 71 $ smidump -f smiv2 ./IANAifType-MIB | grep -c REVISION 71 $ smidump --version smidump 0.4.8
Linux:
$ grep -c REVISION ./IANAifType-MIB 71 $ smidump -f smiv2 ./IANAifType-MIB | grep -c REVISION 71 $ smidump --version smidump 0.4.8
Perhaps you should try to move to a never version of libsmi or the problem for whatever reason only shows up on a Windows platform.
/js