forked from osmocom/wireshark
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
This commit is contained in:
parent
8821cb7e2d
commit
bf9fdc8e8f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue