NTP timestamps can't be relative.
authorMichael Mann <mmann78@netscape.net>
Sat, 24 Oct 2015 21:30:38 +0000 (17:30 -0400)
committerMichael Mann <mmann78@netscape.net>
Sat, 24 Oct 2015 23:55:35 +0000 (23:55 +0000)
Bug: 11633
Change-Id: If0d3c8c51ef8179f2e6f25a617cf545db662d32b
Reviewed-on: https://code.wireshark.org/review/11250
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-mpls-pm.c

index 6d7d36cc0d52d5841c084ac4b199e5b0b811c6cb..b03ae8654cf0f49d038bbbed339fca81db7fb076 100644 (file)
@@ -1053,7 +1053,7 @@ proto_register_mpls_pm(void)
             {
                 "Origin Timestamp",
                 "mpls_pm.origin.timestamp.ntp",
-                FT_RELATIVE_TIME, BASE_NONE,
+                FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC,
                 NULL, 0x0,
                 NULL, HFILL
             }
@@ -1223,7 +1223,7 @@ proto_register_mpls_pm(void)
             {
                 "Timestamp 1 (T1)",
                 "mpls_pm.timestamp1.ntp",
-                FT_RELATIVE_TIME, BASE_NONE,
+                FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC,
                 NULL, 0x0,
                 NULL, HFILL
             }
@@ -1233,7 +1233,7 @@ proto_register_mpls_pm(void)
             {
                 "Timestamp 1 (T3)",
                 "mpls_pm.timestamp1.ntp",
-                FT_RELATIVE_TIME, BASE_NONE,
+                FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC,
                 NULL, 0x0,
                 NULL, HFILL
             }
@@ -1313,7 +1313,7 @@ proto_register_mpls_pm(void)
             {
                 "Timestamp 2 (T2)",
                 "mpls_pm.timestamp2.ntp",
-                FT_RELATIVE_TIME, BASE_NONE,
+                FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC,
                 NULL, 0x0,
                 NULL, HFILL
             }
@@ -1323,7 +1323,7 @@ proto_register_mpls_pm(void)
             {
                 "Timestamp 2 (T4)",
                 "mpls_pm.timestamp2.ntp",
-                FT_RELATIVE_TIME, BASE_NONE,
+                FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC,
                 NULL, 0x0,
                 NULL, HFILL
             }
@@ -1393,7 +1393,7 @@ proto_register_mpls_pm(void)
             {
                 "Timestamp 3 (T1)",
                 "mpls_pm.timestamp3.ntp",
-                FT_RELATIVE_TIME, BASE_NONE,
+                FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC,
                 NULL, 0x0,
                 NULL, HFILL
             }
@@ -1453,7 +1453,7 @@ proto_register_mpls_pm(void)
             {
                 "Timestamp 4 (T2)",
                 "mpls_pm.timestamp4.ntp",
-                FT_RELATIVE_TIME, BASE_NONE,
+                FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC,
                 NULL, 0x0,
                 NULL, HFILL
             }