Wireshark-dev: Re: [Wireshark-dev] SNMP TimeTicks 4 or 5 bytes?

From: "Stig Bjørlykke" <stig@xxxxxxxxxxxxx>
Date: Mon, 21 Apr 2008 14:26:12 +0200
2008/4/21, Anders Broman <anders.broman@xxxxxxxxxxxx>:
> TimeTicks is defined as:
> TimeTicks ::= [APPLICATION 3] IMPLICIT INTEGER (0..4294967295)
>
> Now should that have been encoded as ff 70 82 d8  (4 octets) a 32 bits
> negative INTEGER but "translated" to 4294967295 by the BOUNDS?
>
> Or is the current encoding correct?

According to the specs (and my knowledge) the current ASN1 encoding is correct.


-- 
Stig Bjørlykke