[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mibble-users] Error parsing MIB NET-SNMP-AGENT-MIB.txt
From: |
Per Cederberg |
Subject: |
Re: [Mibble-users] Error parsing MIB NET-SNMP-AGENT-MIB.txt |
Date: |
Sat, 5 Apr 2008 19:48:25 +0200 |
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 <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/mibble-users
>