]> The Tcpdump Group git mirrors - tcpdump/commit
Update some tests files if the packet time is > 2038-01-19 03:14:07 UTC
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 19 Mar 2024 12:27:39 +0000 (13:27 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 22 Mar 2024 10:28:57 +0000 (11:28 +0100)
commit69f03c1c03b280b9c5863bfb47e8847d59b4ee6b
tree8e1a2068062dbec1a8578bd75e800f6b047070b7
parent2521836323e2271d9941abeaa130d32f2427b6e0
Update some tests files if the packet time is > 2038-01-19 03:14:07 UTC

This will avoid, for now, "[Error converting time]" messages even
when replacing 0x80000000 mask test on tv_sec by a test on tv_sec
negative in ts_date_hmsfrac_print() and ts_unix_print().

With this change, the outputs remain the same when building on 64-bit or
32-bit with 32 or 64 time_t size.

The updated time is: 2038-01-01 00:00:00.000000 (Un*x time 2145916800).

(cherry picked from commit e6d9535cd6b652e77e1680aa60fe896e85a178f8)
33 files changed:
tests/babel_update_oobr.out
tests/babel_update_oobr.pcap
tests/frf16_magic_ie-oobr.out
tests/frf16_magic_ie-oobr.pcap
tests/hncp_dhcpv4data-oobr.out
tests/hncp_dhcpv4data-oobr.pcap
tests/ip6_frag_asan.out
tests/ip6_frag_asan.pcap
tests/isakmp-ikev1_n_print-oobr.out
tests/isakmp-ikev1_n_print-oobr.pcap
tests/isis_stlv_asan-2.out
tests/isis_stlv_asan-2.pcap
tests/isis_stlv_asan-3.out
tests/isis_stlv_asan-3.pcap
tests/isis_stlv_asan-4.out
tests/isis_stlv_asan-4.pcap
tests/isis_stlv_asan.out
tests/isis_stlv_asan.pcap
tests/isis_sysid_asan.out
tests/isis_sysid_asan.pcap
tests/ldp-ldp_tlv_print-oobr.out
tests/ldp-ldp_tlv_print-oobr.pcap
tests/olsr-oobr-1.out
tests/olsr-oobr-1.pcap
tests/ppp_error_hexdump.out
tests/ppp_error_hexdump.pcap
tests/rx_serviceid_oobr.out
tests/rx_serviceid_oobr.pcap
tests/smb_data_print-segv-nosmb.out
tests/smb_data_print-segv.out
tests/smb_data_print-segv.pcapng
tests/vqp-oobr.out
tests/vqp-oobr.pcap