From 4fde145bd2dceda9edf1f231a57794965ddc0bd7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 10 Dec 2009 22:19:29 +0000 Subject: Add an argument to abs_time_to_str() and abs_time_secs_to_str() indicating whether the time should be shown as local time or UTC. For now, always pass FALSE, meaning "show as local time". Clean up some stuff in the SNMP dissector, use abs_time_secs_to_str() for times with one-second resolution, and update a comment in various macros in the WSP dissector, while we're at it. svn path=/trunk/; revision=31227 --- epan/dissectors/packet-kismet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-kismet.c') diff --git a/epan/dissectors/packet-kismet.c b/epan/dissectors/packet-kismet.c index ec2e465656..e3b4bcf874 100644 --- a/epan/dissectors/packet-kismet.c +++ b/epan/dissectors/packet-kismet.c @@ -249,7 +249,7 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) /* * Format ascii representaion of time */ - ptr = abs_time_secs_to_str(t); + ptr = abs_time_secs_to_str(t, FALSE); proto_tree_add_text(reqresp_tree, tvb, offset, tokenlen, "Time: %s", ptr); } -- cgit v1.2.3