Wireshark mailing list archives

Re: basic question


From: Christopher Maynard <Chris.Maynard () gtech com>
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);



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: