smiGetFirstRevision() does not return most recent revision

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.
Thank you, Jonathan
________________________________
This e-mail and any attachments are confidential. If it is not intended for you, please notify the sender, and please erase and ignore the contents.

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
participants (2)
-
Jonathan Walker
-
Juergen Schoenwaelder