I'm having some issues with the SmiType handling. Specifically,
when is the name parameter NULL, and when isn't it?
If I load rfc1907, and get the node for sysDescr then get the type
for that node, the name field is NULL. If I then get the parent type,
there I see that the name field has "DisplayString" in it.
However, if I load a test mib I wrote, which imports DisplayString,
and has a variable of syntax DisplayString, the type structure
for that variable has DisplayString in the name (without having to
look at the parent).
I don't see what distinguishes these two cases? Why in one case do
I have to go the parent type to find the DisplayString "name" while
in the other case I don't? Both import DisplayString from SNMPv2-TC.
Also, rfc1907 imports TimeStamp from SNMPv2-TC, but sysORLastChange
has TimeStamp directly in the name field of it's type. Again, why
is DisplayString part of the parent type, while TimeStamp is not?
Can someone explain this seeming inconsistency?
Thanks,
Pete Flugstad