Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Ethereal: dev

[PATCH] Make ICMP timestamps human readable

 

 

Ethereal dev RSS feed   Index | Next | Previous | View Threaded


stephentfisher at yahoo

Jun 6, 2006, 2:44 PM

Post #1 of 1 (826 views)
Permalink
[PATCH] Make ICMP timestamps human readable

Attached is a small patch to make the dissection of ICMP timestamp
requests and replies human readable. Currently, Ethereal displays the
raw values from the packet of milliseconds since midnight UTC, for
example: 78176394. This patch changes the display of milliseconds to a
human readable string, for example: "21 hours, 35 minutes, 48.12 seconds
since midnight UTC".

It can be tested with "ping -M time <hostname>" on FreeBSD, "ping -T
tsonly <hostname>" on Linux, or a time synchronization program such as
Tardis 2000 for Windows with the ICMP Timestamp setting.


Steve
Attachments: packet-ip.c.diff (1.04 KB)

Ethereal dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.