Wireshark-dev: Re: [Wireshark-dev] basic question
From: Christopher Maynard <Chris.Maynard@xxxxxxxxx>
Date: Mon, 1 Nov 2010 15:24:03 +0000 (UTC)
Brian Oleksa <oleksab@...> writes:

> Will this work if I just change the size and offset from 8 to 4..??

basic answer: no. :)

You are still grabbing 8 bytes from the tvb instead of only 4:
msecs_since_the_epoch = tvb_get_ntoh64(tvb, offset);