Wireshark-bugs: [Wireshark-bugs] [Bug 2442] some SNMP trap packets parse error

Date: Mon, 21 Apr 2008 05:33:26 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2442


Anders Broman <anders.broman@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anders.broman@xxxxxxxxxxxx




--- Comment #3 from Anders Broman <anders.broman@xxxxxxxxxxxx>  2008-04-21 05:33:06 GMT ---
Change
epan/oids.c line 285 from:
                {"TimeStamp",SMI_BASETYPE_UNKNOWN,&integer_type},
To:
                {"TimeStamp",SMI_BASETYPE_UNKNOWN,&timeticks_type},


See SNMPv2-TC:

TimeStamp ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
            "The value of the sysUpTime object at which a specific
            occurrence happened.  The specific occurrence must be
            defined in the description of any object defined using this
            type.

            If sysUpTime is reset to zero as a result of a re-
            initialization of the network management (sub)system, then
            the values of all TimeStamp objects are also reset.
            However, after approximately 497 days without a re-
            initialization, the sysUpTime object will reach 2^^32-1 and
            then increment around to zero; in this case, existing values
            of TimeStamp objects do not change.  This can lead to
            ambiguities in the value of TimeStamp objects."
    SYNTAX       TimeTicks


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.