https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2819
Summary: Decode DIS PDU timestamps
Product: Wireshark
Version: SVN
Platform: PC
OS/Version: Debian
Status: NEW
Severity: Enhancement
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: bailey@xxxxxxxxxxxxxxxx
Scott Bailey <bailey@xxxxxxxxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2171| |review_for_checkin?
Flag| |
Created an attachment (id=2171)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2171)
This change adds and calls a timestamp specific decode function:
parseField_Timestamp().
Build Information:
Version 1.0.99 (SVN Rev 26034)
Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled with GTK+ 2.12.11, with GLib 2.16.4, with libpcap 0.9.8, with libz
1.2.3.3, with POSIX capabilities (Linux), with libpcre 7.6, with SMI 0.4.7,
with
c-ares 1.5.2, without ADNS, with Lua 5.1, with GnuTLS 1.4.4, with Gcrypt 1.4.1,
with MIT Kerberos, with PortAudio V19-devel (built Oct 25 2007), without
AirPcap.
Running on Linux 2.6.18-6-686, with libpcap version 0.9.8.
Built using gcc 4.3.1.
Wireshark is Open Source Software released under the GNU General Public
License.
Check the man page and http://www.wireshark.org for more information.
--
The ability to decode DIS PDUs with Wireshark is great!
Unfortunately, it takes a calculator to decode the timestamps. But no more!
Timestamps using the attached patch (based on SVN trunk version 26034) are
displayed as follows:
Timestamp = MM:SS mmm absolute (UTM)
or
Timestamp = MM:SS mmm relative
where M is minutes, S is seconds, and m is milliseconds.
This is in accord with 'IEEE Std 1278.1-1995' section 5.2.31.
Files changed:
* epan/dissectors/packet-dis-pdus.c
* epan/dissectors/packet-dis-fields.c
* epan/dissectors/packet-dis-fields.h
Description of change:
The DIS timestamp was treated--essentially--as a generic unsigned int of static
size (4). This change adds and calls a timestamp specific decode function:
parseField_Timestamp().
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.