In ts_date_hmsfrac_print() and ts_unix_print() replace
"[timestamp < 1970-01-01 00:00:00 UTC]"
by
"[timestamp overflow]".
(Wikipedia "Year 2038 problem" uses "overflow".)
(cherry picked from commit
3026b252ffa687822d637c6b9e77b52d33b8f9d3)
const char *timestr;
if (tv->tv_sec < 0) {
- ND_PRINT("[timestamp < 1970-01-01 00:00:00 UTC]");
+ ND_PRINT("[timestamp overflow]");
return;
}
ts_unix_print(netdissect_options *ndo, const struct timeval *tv)
{
if (tv->tv_sec < 0) {
- ND_PRINT("[timestamp < 1970-01-01 00:00:00 UTC]");
+ ND_PRINT("[timestamp overflow]");
return;
}