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

Date: Mon, 28 Nov 2011 22:59:38 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6611

--- Comment #6 from Jaap Keuter <jaap.keuter@xxxxxxxxx> 2011-11-29 07:59:37 CET ---
(In reply to comment #5)
> I'm not sure why a NULL value should be treated different. It seems like when
> there is a NULL value it should show the EPOCH date. 

Note that there is a difference between a zero value and a NULL value. A zero
value is part of the set of integer numbers, while NULL is a symbolic value
meaning that there is no (integer) value. Since variables cannot hold a
valid/invalid state, usually the zero is used to indicate NULL.

In reference to the RFC, zero is used to indicate 'no value', hence NULL is
appropriate.

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