diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-12-19 03:17:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-12-19 03:17:44 +0000 |
commit | 8e236e55defb5555eb3dde620d49e3a67f74ad4b (patch) | |
tree | 5d4eb5c243515cc0bf128f763d68a574ac3b2f76 /epan/dissectors/packet-smpp.c | |
parent | 220054bd43730e0a85ab04d9e3f495cefe08703f (diff) |
For fields of type FT_ABSOLUTE_TIME, have the "display" value be one of
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display
the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL ==
(int)BASE_NONE, so there's no source or binary compatiblity issue,
although we might want to eliminate BASE_NONE at some point and have the
BASE_ values used with integral types start at 0, so that you can't
specify BASE_NONE for an integral field.
svn path=/trunk/; revision=31319
Diffstat (limited to 'epan/dissectors/packet-smpp.c')
-rw-r--r-- | epan/dissectors/packet-smpp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-smpp.c b/epan/dissectors/packet-smpp.c index 975d346e39..2b7cb82e44 100644 --- a/epan/dissectors/packet-smpp.c +++ b/epan/dissectors/packet-smpp.c @@ -2699,7 +2699,7 @@ proto_register_smpp(void) }, { &hf_smpp_schedule_delivery_time, { "Scheduled delivery time", "smpp.schedule_delivery_time", - FT_ABSOLUTE_TIME, BASE_NONE, NULL, 0x00, + FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0x00, "Scheduled time for delivery of short message.", HFILL } @@ -2713,7 +2713,7 @@ proto_register_smpp(void) }, { &hf_smpp_validity_period, { "Validity period", "smpp.validity_period", - FT_ABSOLUTE_TIME, BASE_NONE, NULL, 0x00, + FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0x00, "Validity period of this message.", HFILL } @@ -2811,7 +2811,7 @@ proto_register_smpp(void) }, { &hf_smpp_final_date, { "Final date", "smpp.final_date", - FT_ABSOLUTE_TIME, BASE_NONE, NULL, 0x00, + FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0x00, "Date-time when the queried message reached a final state.", HFILL } @@ -3453,7 +3453,7 @@ proto_register_smpp(void) }, { &hf_smpp_broadcast_end_time, { "Broadcast Message - End Time", "smpp.broadcast_end_time", - FT_ABSOLUTE_TIME, BASE_NONE, NULL, 0x00, + FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0x00, "Cell Broadcast Message - Date and time at which MC set the state of the message to terminated", HFILL } }, |