aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipmi.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-21 06:33:25 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-21 06:33:25 +0000
commit927b7da34668bc9c0b2dd4c339e45278fd109c77 (patch)
tree7017587d5ae078490ee9b3be8ec6551e7df71d13 /epan/dissectors/packet-ipmi.c
parent4dcaf67f37f89d699a42089001f04c5daf9558e2 (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-ipmi.c')
-rw-r--r--epan/dissectors/packet-ipmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ipmi.c b/epan/dissectors/packet-ipmi.c
index 08767b3628..35929e3e1d 100644
--- a/epan/dissectors/packet-ipmi.c
+++ b/epan/dissectors/packet-ipmi.c
@@ -774,7 +774,7 @@ ipmi_add_timestamp(proto_tree *tree, gint hf, tvbuff_t *tvb, guint offset)
time_secs_to_str_unsigned(ts));
} else {
proto_tree_add_uint_format_value(tree, hf, tvb, offset, 4,
- ts, "%s", abs_time_secs_to_str(ts, ABSOLUTE_TIME_UTC));
+ ts, "%s", abs_time_secs_to_str(ts, ABSOLUTE_TIME_UTC, TRUE));
}
}