I've already got a fix for it, but have to address a few other things before releasing version 2.9.alpha2.
Thanks for reporting and analyzing this issue! /Per On Sat, Apr 5, 2008 at 4:00 PM, Karl Weber <[EMAIL PROTECTED]> wrote: > Hi, > > mibble2.8 reports an error parsing the MIB NET-SNMP-AGENT-MIB.txt from the > net-snmp project. > > The error message is: > > Error: in ...../net-snmp-5.3.2/mibs/NET-SNMP-AGENT-MIB.txt: line 76: > unexpected token "::=", expected "}" > > ::= { nsCache 1 } > ^ > > The content of the MIB around line 76 is: > > nsCacheDefaultTimeout OBJECT-TYPE > SYNTAX INTEGER -- ??? > MAX-ACCESS read-write > STATUS current > DESCRIPTION > "Default cache timeout value (unless overridden > for a particular cache entry)." > DEFVAL { 5 --seconds-- } > ::= { nsCache 1 } > > The error disappears if the comment "--seconds--" is removed. > > Moving the comment out of the braced block also works, i.e. using > > DEFVAL { 5 } -- seconds -- > > I am no ASN.1 expert, but for all I understand, the comment should be legal > ASN.1, so the error ought to be attributed to the parser, not the MIB. > > Is this correct? > > -Karl > > > _______________________________________________ > Mibble-users mailing list > Mibble-users@nongnu.org > http://lists.nongnu.org/mailman/listinfo/mibble-users > _______________________________________________ Mibble-users mailing list Mibble-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/mibble-users