aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gmhdr.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-29 14:55:49 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-29 14:55:49 +0000
commitbf9fdc8e8f4309513fb6620d79dd49feeff80afd (patch)
tree78f702945bfa4e3f2a071dc2fef362754f80ed9b /epan/dissectors/packet-gmhdr.c
parent8821cb7e2dd356e742aa623043edc600ad01967b (diff)
Bugfix timestamp formatting of Gigamon trailer. Bug 9433 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9433)
From Sandeep Dahiya svn path=/trunk/; revision=53646
Diffstat (limited to 'epan/dissectors/packet-gmhdr.c')
-rw-r--r--epan/dissectors/packet-gmhdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gmhdr.c b/epan/dissectors/packet-gmhdr.c
index e066c0bf52..a78b524ee7 100644
--- a/epan/dissectors/packet-gmhdr.c
+++ b/epan/dissectors/packet-gmhdr.c
@@ -318,7 +318,7 @@ dissect_gmtimestamp_trailer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
gmtimev.nsecs = tvb_get_ntohl(tvb, offset);
tm = localtime(&gmtimev.secs);
- proto_item_append_text(ti, ", Port: %d, Timestamp: %d:%d:%d.%d", port_num, tm->tm_hour, tm->tm_min, tm->tm_sec, gmtimev.nsecs);
+ proto_item_append_text(ti, ", Port: %d, Timestamp: %d:%02d:%02d.%09d", port_num, tm->tm_hour, tm->tm_min, tm->tm_sec, gmtimev.nsecs);
}
offset = 0;