Wireshark-bugs: [Wireshark-bugs] [Bug 6611] New: NTP packets incorrectly display the date for a

Date: Tue, 22 Nov 2011 11:23:32 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6611

           Summary: NTP packets incorrectly display the date for a
                    timestamp of 0
           Product: Wireshark
           Version: 1.6.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: qianyilong@xxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
As specified in rfc2030, timestamps are calculated as fixed point seconds from
Jan. 1 1900. This works correctly for any non-zero timestamp. 

If a packet is generated with a timestamp of 1 second, when that NTP packet is
viewed and contents inspected wireshark will display

Jan 1 1900 00:01

But if a packet contains a zeroed out timestamp it will display

"Jan 1 1970 00:00" rather than "Jan 1 1900 00:00" as it should.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.