diff --git a/ntp.c b/ntp.c index c9d60fae3..d1825664b 100644 --- a/ntp.c +++ b/ntp.c @@ -26,7 +26,11 @@ #include "extract.h" -#define JAN_1970 INT64_C(2208988800) /* 1970 - 1900 in seconds */ +/* NTP epoch 1: January 1, 1900, 00:00:00 UTC. */ +#define DIFF_1970_1900 INT64_C(2208988800) /* 1970 - 1900 in seconds */ +/* RFC4330 - 3. NTP Timestamp Format - 6h 28m 16s UTC on 7 February 2036 */ +/* NTP epoch 2: February 7, 2036, 06:28:16 UTC. */ +#define DIFF_2036_1970 INT64_C(2085978496) /* 2036 - 1970 in seconds */ void p_ntp_time_fmt(netdissect_options *ndo, const char *fmt, @@ -50,21 +54,25 @@ p_ntp_time_fmt(netdissect_options *ndo, const char *fmt, * print the UTC time in human-readable format. */ if (i) { - int64_t seconds_64bit = (int64_t)i - JAN_1970; + int64_t seconds_64bit; time_t seconds; char time_buf[128]; const char *time_string; + if ((i & 0x80000000) != 0) + seconds_64bit = (int64_t)i - DIFF_1970_1900; + else + seconds_64bit = (int64_t)i + DIFF_2036_1970; seconds = (time_t)seconds_64bit; if (seconds != seconds_64bit) { /* * It doesn't fit into a time_t, so we can't hand it * to gmtime. */ - time_string = "[Time is too large to fit into a time_t]"; + time_string = "[timestamp overflow]"; } else { time_string = nd_format_time(time_buf, sizeof (time_buf), - fmt, gmtime(&seconds)); + fmt, gmtime(&seconds)); } ND_PRINT(" (%s)", time_string); } diff --git a/tests/TESTLIST b/tests/TESTLIST index 9c0bfcadb..10ab3f664 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -129,11 +129,9 @@ mpls-ldp-hello mpls-ldp-hello.pcap mpls-ldp-hello.out -v ldp-common-session ldp-common-session.pcap ldp-common-session.out -v ldp_infloop ldp-infinite-loop.pcap ldp_infloop.out lspping-fec-ldp lspping-fec-ldp.pcap lspping-fec-ldp.out -lspping-fec-ldp-v lspping-fec-ldp.pcap lspping-fec-ldp-v.out -v -lspping-fec-ldp-vv lspping-fec-ldp.pcap lspping-fec-ldp-vv.out -vv +# Tests with -v and -vv are now in TESTrun skipped if skip_time_t_not (64) lspping-fec-rsvp lspping-fec-rsvp.pcap lspping-fec-rsvp.out -lspping-fec-rsvp-v lspping-fec-rsvp.pcap lspping-fec-rsvp-v.out -v -lspping-fec-rsvp-vv lspping-fec-rsvp.pcap lspping-fec-rsvp-vv.out -vv +# Tests with -v and -vv are now in TESTrun skipped if skip_time_t_not (64) mpls-traceroute mpls-traceroute.pcap mpls-traceroute.out mpls-traceroute-v mpls-traceroute.pcap mpls-traceroute-v.out -v mpls-over-udp mpls-over-udp.pcap mpls-over-udp.out @@ -894,7 +892,7 @@ dns-zlip-3 dns-zlip-3.pcap dns-zlip-3.out # NTP tests ntp ntp.pcap ntp.out -ntp-v ntp.pcap ntp-v.out -v +# Test with -v is now in TESTrun skipped if skip_time_t_not (64) ntp-time ntp-time.pcap ntp-time.out ntp-time--v ntp-time.pcap ntp-time--v.out -v ntp-time-ef ntp-time-ef.pcap ntp-time-ef.out diff --git a/tests/TESTrun b/tests/TESTrun index d2dfba851..f7b5762b1 100755 --- a/tests/TESTrun +++ b/tests/TESTrun @@ -557,6 +557,41 @@ my @decode_tests = ( output => 'time_2107-tt.out', args => '-tt -q SPECIAL_t' }, + { + skip => skip_time_t_not (64), + name => 'lspping-fec-ldp-v', + input => 'lspping-fec-ldp.pcap', + output => 'lspping-fec-ldp-v.out', + args => '-v' + }, + { + skip => skip_time_t_not (64), + name => 'lspping-fec-ldp-vv', + input => 'lspping-fec-ldp.pcap', + output => 'lspping-fec-ldp-vv.out', + args => '-vv' + }, + { + skip => skip_time_t_not (64), + name => 'lspping-fec-rsvp-v', + input => 'lspping-fec-rsvp.pcap', + output => 'lspping-fec-rsvp-v.out', + args => '-v' + }, + { + skip => skip_time_t_not (64), + name => 'lspping-fec-rsvp-vv', + input => 'lspping-fec-rsvp.pcap', + output => 'lspping-fec-rsvp-vv.out', + args => '-vv' + }, + { + skip => skip_time_t_not (64), + name => 'ntp-v', + input => 'ntp.pcap', + output => 'ntp-v.out', + args => '-v' + }, ); sub decode_exit_status { diff --git a/tests/lspping-fec-ldp-v.out b/tests/lspping-fec-ldp-v.out index 4b9a88867..66296287b 100644 --- a/tests/lspping-fec-ldp-v.out +++ b/tests/lspping-fec-ldp-v.out @@ -10,7 +10,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208228.000027564 (1934-06-15T10:17:08Z) + TimeStamp Sent: 1087208228.000027564 (2070-07-21T16:45:24Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -22,8 +22,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208228.000027564 (1934-06-15T10:17:08Z) - TimeStamp Received: 1087208228.000027928 (1934-06-15T10:17:08Z) + TimeStamp Sent: 1087208228.000027564 (2070-07-21T16:45:24Z) + TimeStamp Received: 1087208228.000027928 (2070-07-21T16:45:24Z) 4 2004-06-14 10:17:08.878375 MPLS (label 100704, tc 6, [S], ttl 64) IP (tos 0xc0, ttl 64, id 40725, offset 0, flags [none], proto TCP (6), length 71) 12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], cksum 0x6c0d (correct), seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP @@ -39,7 +39,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208229.000029880 (1934-06-15T10:17:09Z) + TimeStamp Sent: 1087208229.000029880 (2070-07-21T16:45:25Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -51,8 +51,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208229.000029880 (1934-06-15T10:17:09Z) - TimeStamp Received: 1087208229.000030186 (1934-06-15T10:17:09Z) + TimeStamp Sent: 1087208229.000029880 (2070-07-21T16:45:25Z) + TimeStamp Received: 1087208229.000030186 (2070-07-21T16:45:25Z) 8 2004-06-14 10:17:10.128607 MPLS (label 100688, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40729, offset 0, flags [none], proto UDP (17), length 76) 12.4.4.4.4786 > 127.0.0.1.3503: @@ -61,7 +61,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208230.000029928 (1934-06-15T10:17:10Z) + TimeStamp Sent: 1087208230.000029928 (2070-07-21T16:45:26Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -73,8 +73,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208230.000029928 (1934-06-15T10:17:10Z) - TimeStamp Received: 1087208230.000030250 (1934-06-15T10:17:10Z) + TimeStamp Sent: 1087208230.000029928 (2070-07-21T16:45:26Z) + TimeStamp Received: 1087208230.000030250 (2070-07-21T16:45:26Z) 10 2004-06-14 10:17:11.128577 MPLS (label 100688, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40731, offset 0, flags [none], proto UDP (17), length 76) 12.4.4.4.4786 > 127.0.0.1.3503: @@ -83,7 +83,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208231.000029918 (1934-06-15T10:17:11Z) + TimeStamp Sent: 1087208231.000029918 (2070-07-21T16:45:27Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -95,8 +95,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208231.000029918 (1934-06-15T10:17:11Z) - TimeStamp Received: 1087208231.000030237 (1934-06-15T10:17:11Z) + TimeStamp Sent: 1087208231.000029918 (2070-07-21T16:45:27Z) + TimeStamp Received: 1087208231.000030237 (2070-07-21T16:45:27Z) 12 2004-06-14 10:17:12.128655 MPLS (label 100688, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40733, offset 0, flags [none], proto UDP (17), length 76) 12.4.4.4.4786 > 127.0.0.1.3503: @@ -105,7 +105,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208232.000029937 (1934-06-15T10:17:12Z) + TimeStamp Sent: 1087208232.000029937 (2070-07-21T16:45:28Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -117,5 +117,5 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208232.000029937 (1934-06-15T10:17:12Z) - TimeStamp Received: 1087208232.000030273 (1934-06-15T10:17:12Z) + TimeStamp Sent: 1087208232.000029937 (2070-07-21T16:45:28Z) + TimeStamp Received: 1087208232.000030273 (2070-07-21T16:45:28Z) diff --git a/tests/lspping-fec-ldp-vv.out b/tests/lspping-fec-ldp-vv.out index e641c0c53..76b33b614 100644 --- a/tests/lspping-fec-ldp-vv.out +++ b/tests/lspping-fec-ldp-vv.out @@ -10,7 +10,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208228.000027564 (1934-06-15T10:17:08Z) + TimeStamp Sent: 1087208228.000027564 (2070-07-21T16:45:24Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -24,8 +24,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208228.000027564 (1934-06-15T10:17:08Z) - TimeStamp Received: 1087208228.000027928 (1934-06-15T10:17:08Z) + TimeStamp Sent: 1087208228.000027564 (2070-07-21T16:45:24Z) + TimeStamp Received: 1087208228.000027928 (2070-07-21T16:45:24Z) 4 2004-06-14 10:17:08.878375 MPLS (label 100704, tc 6, [S], ttl 64) IP (tos 0xc0, ttl 64, id 40725, offset 0, flags [none], proto TCP (6), length 71) 12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], cksum 0x6c0d (correct), seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP @@ -41,7 +41,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208229.000029880 (1934-06-15T10:17:09Z) + TimeStamp Sent: 1087208229.000029880 (2070-07-21T16:45:25Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -55,8 +55,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208229.000029880 (1934-06-15T10:17:09Z) - TimeStamp Received: 1087208229.000030186 (1934-06-15T10:17:09Z) + TimeStamp Sent: 1087208229.000029880 (2070-07-21T16:45:25Z) + TimeStamp Received: 1087208229.000030186 (2070-07-21T16:45:25Z) 8 2004-06-14 10:17:10.128607 MPLS (label 100688, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40729, offset 0, flags [none], proto UDP (17), length 76) 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] @@ -65,7 +65,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208230.000029928 (1934-06-15T10:17:10Z) + TimeStamp Sent: 1087208230.000029928 (2070-07-21T16:45:26Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -79,8 +79,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208230.000029928 (1934-06-15T10:17:10Z) - TimeStamp Received: 1087208230.000030250 (1934-06-15T10:17:10Z) + TimeStamp Sent: 1087208230.000029928 (2070-07-21T16:45:26Z) + TimeStamp Received: 1087208230.000030250 (2070-07-21T16:45:26Z) 10 2004-06-14 10:17:11.128577 MPLS (label 100688, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40731, offset 0, flags [none], proto UDP (17), length 76) 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] @@ -89,7 +89,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208231.000029918 (1934-06-15T10:17:11Z) + TimeStamp Sent: 1087208231.000029918 (2070-07-21T16:45:27Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -103,8 +103,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208231.000029918 (1934-06-15T10:17:11Z) - TimeStamp Received: 1087208231.000030237 (1934-06-15T10:17:11Z) + TimeStamp Sent: 1087208231.000029918 (2070-07-21T16:45:27Z) + TimeStamp Received: 1087208231.000030237 (2070-07-21T16:45:27Z) 12 2004-06-14 10:17:12.128655 MPLS (label 100688, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40733, offset 0, flags [none], proto UDP (17), length 76) 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] @@ -113,7 +113,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208232.000029937 (1934-06-15T10:17:12Z) + TimeStamp Sent: 1087208232.000029937 (2070-07-21T16:45:28Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 12 LDP IPv4 prefix subTLV (1), length: 5 @@ -127,5 +127,5 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208232.000029937 (1934-06-15T10:17:12Z) - TimeStamp Received: 1087208232.000030273 (1934-06-15T10:17:12Z) + TimeStamp Sent: 1087208232.000029937 (2070-07-21T16:45:28Z) + TimeStamp Received: 1087208232.000030273 (2070-07-21T16:45:28Z) diff --git a/tests/lspping-fec-rsvp-v.out b/tests/lspping-fec-rsvp-v.out index 2b9d51358..4b5ee2aef 100644 --- a/tests/lspping-fec-rsvp-v.out +++ b/tests/lspping-fec-rsvp-v.out @@ -6,7 +6,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208037.000131030 (1934-06-15T10:13:57Z) + TimeStamp Sent: 1087208037.000131030 (2070-07-21T16:42:13Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -19,8 +19,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208037.000131030 (1934-06-15T10:13:57Z) - TimeStamp Received: 1087208037.000131348 (1934-06-15T10:13:57Z) + TimeStamp Sent: 1087208037.000131030 (2070-07-21T16:42:13Z) + TimeStamp Received: 1087208037.000131348 (2070-07-21T16:42:13Z) 3 2004-06-14 10:13:58.572787 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40271, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: @@ -29,7 +29,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208038.000133345 (1934-06-15T10:13:58Z) + TimeStamp Sent: 1087208038.000133345 (2070-07-21T16:42:14Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -42,8 +42,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208038.000133345 (1934-06-15T10:13:58Z) - TimeStamp Received: 1087208038.000136480 (1934-06-15T10:13:58Z) + TimeStamp Sent: 1087208038.000133345 (2070-07-21T16:42:14Z) + TimeStamp Received: 1087208038.000136480 (2070-07-21T16:42:14Z) 5 2004-06-14 10:13:59.572866 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40273, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: @@ -52,7 +52,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208039.000133363 (1934-06-15T10:13:59Z) + TimeStamp Sent: 1087208039.000133363 (2070-07-21T16:42:15Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -65,8 +65,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208039.000133363 (1934-06-15T10:13:59Z) - TimeStamp Received: 1087208039.000133684 (1934-06-15T10:13:59Z) + TimeStamp Sent: 1087208039.000133363 (2070-07-21T16:42:15Z) + TimeStamp Received: 1087208039.000133684 (2070-07-21T16:42:15Z) 7 2004-06-14 10:14:00.572959 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40275, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: @@ -75,7 +75,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208040.000133384 (1934-06-15T10:14:00Z) + TimeStamp Sent: 1087208040.000133384 (2070-07-21T16:42:16Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -88,8 +88,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208040.000133384 (1934-06-15T10:14:00Z) - TimeStamp Received: 1087208040.000133697 (1934-06-15T10:14:00Z) + TimeStamp Sent: 1087208040.000133384 (2070-07-21T16:42:16Z) + TimeStamp Received: 1087208040.000133697 (2070-07-21T16:42:16Z) 9 2004-06-14 10:14:01.573010 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40278, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: @@ -98,7 +98,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208041.000133401 (1934-06-15T10:14:01Z) + TimeStamp Sent: 1087208041.000133401 (2070-07-21T16:42:17Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -111,5 +111,5 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208041.000133401 (1934-06-15T10:14:01Z) - TimeStamp Received: 1087208041.000133707 (1934-06-15T10:14:01Z) + TimeStamp Sent: 1087208041.000133401 (2070-07-21T16:42:17Z) + TimeStamp Received: 1087208041.000133707 (2070-07-21T16:42:17Z) diff --git a/tests/lspping-fec-rsvp-vv.out b/tests/lspping-fec-rsvp-vv.out index 537adaaa3..efac7e493 100644 --- a/tests/lspping-fec-rsvp-vv.out +++ b/tests/lspping-fec-rsvp-vv.out @@ -6,7 +6,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208037.000131030 (1934-06-15T10:13:57Z) + TimeStamp Sent: 1087208037.000131030 (2070-07-21T16:42:13Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -23,8 +23,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 1 - TimeStamp Sent: 1087208037.000131030 (1934-06-15T10:13:57Z) - TimeStamp Received: 1087208037.000131348 (1934-06-15T10:13:57Z) + TimeStamp Sent: 1087208037.000131030 (2070-07-21T16:42:13Z) + TimeStamp Received: 1087208037.000131348 (2070-07-21T16:42:13Z) 3 2004-06-14 10:13:58.572787 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40271, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] @@ -33,7 +33,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208038.000133345 (1934-06-15T10:13:58Z) + TimeStamp Sent: 1087208038.000133345 (2070-07-21T16:42:14Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -50,8 +50,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 2 - TimeStamp Sent: 1087208038.000133345 (1934-06-15T10:13:58Z) - TimeStamp Received: 1087208038.000136480 (1934-06-15T10:13:58Z) + TimeStamp Sent: 1087208038.000133345 (2070-07-21T16:42:14Z) + TimeStamp Received: 1087208038.000136480 (2070-07-21T16:42:14Z) 5 2004-06-14 10:13:59.572866 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40273, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] @@ -60,7 +60,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208039.000133363 (1934-06-15T10:13:59Z) + TimeStamp Sent: 1087208039.000133363 (2070-07-21T16:42:15Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -77,8 +77,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 3 - TimeStamp Sent: 1087208039.000133363 (1934-06-15T10:13:59Z) - TimeStamp Received: 1087208039.000133684 (1934-06-15T10:13:59Z) + TimeStamp Sent: 1087208039.000133363 (2070-07-21T16:42:15Z) + TimeStamp Received: 1087208039.000133684 (2070-07-21T16:42:15Z) 7 2004-06-14 10:14:00.572959 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40275, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] @@ -87,7 +87,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208040.000133384 (1934-06-15T10:14:00Z) + TimeStamp Sent: 1087208040.000133384 (2070-07-21T16:42:16Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -104,8 +104,8 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 4 - TimeStamp Sent: 1087208040.000133384 (1934-06-15T10:14:00Z) - TimeStamp Received: 1087208040.000133697 (1934-06-15T10:14:00Z) + TimeStamp Sent: 1087208040.000133384 (2070-07-21T16:42:16Z) + TimeStamp Received: 1087208040.000133697 (2070-07-21T16:42:16Z) 9 2004-06-14 10:14:01.573010 MPLS (label 100704, tc 7, [S], ttl 255) IP (tos 0x0, ttl 64, id 40278, offset 0, flags [none], proto UDP (17), length 88) 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] @@ -114,7 +114,7 @@ Return Code: No return code or return code contained in the Error Code TLV (0) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208041.000133401 (1934-06-15T10:14:01Z) + TimeStamp Sent: 1087208041.000133401 (2070-07-21T16:42:17Z) TimeStamp Received: no timestamp Target FEC Stack TLV (1), length: 24 RSVP IPv4 Session Query subTLV (3), length: 20 @@ -131,5 +131,5 @@ Return Code: Replying router is an egress for the FEC at stack depth 0 (3) Return Subcode: (0) Sender Handle: 0x00000000, Sequence: 5 - TimeStamp Sent: 1087208041.000133401 (1934-06-15T10:14:01Z) - TimeStamp Received: 1087208041.000133707 (1934-06-15T10:14:01Z) + TimeStamp Sent: 1087208041.000133401 (2070-07-21T16:42:17Z) + TimeStamp Received: 1087208041.000133707 (2070-07-21T16:42:17Z) diff --git a/tests/ntp-v.out b/tests/ntp-v.out index bebe3aab8..84351d2dc 100644 --- a/tests/ntp-v.out +++ b/tests/ntp-v.out @@ -27,7 +27,7 @@ Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (unspec) Reference Timestamp: 0.000000000 Originator Timestamp: 3706870757.473833108 (2017-06-19T14:19:17Z) - Receive Timestamp: 1802554105.693999877 (1957-02-13T21:28:25Z) + Receive Timestamp: 1802554105.693999877 (2093-03-22T03:56:41Z) Transmit Timestamp: 2929527464.107565978 (1992-10-31T13:37:44Z) Originator - Receive Timestamp: -1904316651.779833231 Originator - Transmit Timestamp: -777343293.366267130