diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-21 06:33:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-21 06:33:25 +0000 |
commit | 927b7da34668bc9c0b2dd4c339e45278fd109c77 (patch) | |
tree | 7017587d5ae078490ee9b3be8ec6551e7df71d13 /epan/dissectors/packet-mmse.c | |
parent | 4dcaf67f37f89d699a42089001f04c5daf9558e2 (diff) |
Have abs_time_to_str() and abs_time_to_str_secs() take an additional
argument indicating whether to include the time zone in the string. If
we're constructing a display filter, don't include the time zone,
otherwise do. Fixes bug 4756.
svn path=/trunk/; revision=32913
Diffstat (limited to 'epan/dissectors/packet-mmse.c')
-rw-r--r-- | epan/dissectors/packet-mmse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mmse.c b/epan/dissectors/packet-mmse.c index f021302eac..10b45617d3 100644 --- a/epan/dissectors/packet-mmse.c +++ b/epan/dissectors/packet-mmse.c @@ -1207,7 +1207,8 @@ dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, &count2); tmptime.secs = tval; tmptime.nsecs = 0; - strval = abs_time_to_str(&tmptime, ABSOLUTE_TIME_LOCAL); + strval = abs_time_to_str(&tmptime, ABSOLUTE_TIME_LOCAL, + TRUE); /* Now render the fields */ tvb_ensure_bytes_exist(tvb, offset - 1, length + count + 1); tii = proto_tree_add_string_format(mmse_tree, |