matching 802dot3 as a number

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

matching 802dot3 as a number

Musachy Barroso
Per,

using the grammar for ASN1, where:

NUMBER_STRING                = <<[0-9]+>>

I'm trying to parse IEEE8023-LAG-MIB, which starts with something like this:

lagMIB MODULE-IDENTITY
LAST-UPDATED "200006270000Z"
ORGANIZATION "IEEE 802.3 Working Group"
CONTACT-INFO
" [hidden email]"
DESCRIPTION
"The Link Aggregation module for managing IEEE Std
802.3ad."
::= { iso(1) member-body(2) us(840) 802dot3(10006)
snmpmibs(300) 43 }
the parser is matching 802dot3(10006) as a NUMBER_STRING with the value 802. I will see if I can make a small test case, and look into the code to try to find the reason for this. Any advise?

musachy
--
www.ezmgt.com
Easy Management
_______________________________________________
Grammatica-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/grammatica-users
Reply | Threaded
Open this post in threaded view
|

Re: matching 802dot3 as a number

Per Cederberg
Dear Musachy,

I don't mind you asking here, but as you'll understand I won't
spend my spare time helping you build commercial products based
on my free work. Especially not as Mibble is already available
at a very fair price.

Kind regards,

/Per

On tue, 2005-11-08 at 22:45 -0500, Musachy Barroso wrote:

> Per,
>
> using the grammar for ASN1, where:
>
> NUMBER_STRING                = <<[0-9]+>>
>
> I'm trying to parse IEEE8023-LAG-MIB, which starts with something like
> this:
>
> lagMIB MODULE-IDENTITY
>     LAST-UPDATED "200006270000Z"
>      ORGANIZATION "IEEE 802.3 Working Group"
>     CONTACT-INFO
>         "
> [hidden email]"
>     DESCRIPTION
>          "The Link Aggregation module for managing IEEE Std
>         802.3ad."
>      ::= { iso(1) member-body(2) us(840) 802dot3(10006)
>
>            snmpmibs(300) 43 }
> the parser is matching 802dot3(10006) as a NUMBER_STRING with the
> value 802. I will see if I can make a small test case, and look into
> the code to try to find the reason for this. Any advise?
>
> musachy
> --
> www.ezmgt.com
> Easy Management
> _______________________________________________
> Grammatica-users mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/grammatica-users



_______________________________________________
Grammatica-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/grammatica-users