
Hi!
test.mib:22: the SPPI construct/keyword `MAX-ACCESS' may not be used in a MIB ... Even if it's not, the error message is completely wrong and misleading, as the problem has nothing at all to do with the MAX-ACCESS line.
Pete> Note: the same bad error message occurs in other situations, such Pete> as when someone tries to sub-type something like IpAddress.
Thanks, Pete. I've now checked the parser code for situations where specific type tokes where expected and unexpected subtyping was not handled. This should be fixed now and lead to this error message:
$ ./tools/smilint -e ./TEST-MIB ./TEST-MIB:22: {subtype-illegal} subtyping not allowed [...]
Description of (selected) error/warning messages:
Error: subtype-illegal (level 2) Message: subtyping not allowed Description: The types OBJECT IDENTIFIER, IpAddress, Counter32, Counter64, and TimeTicks, and any types in a SEQUENCE clause must not be sub-typed (RFC 2578, Sections 7.1.12 and 9).
-frank