Make etherdump timestamps zero-based.
authorSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 18 Feb 2009 03:24:46 +0000 (19:24 -0800)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 18 Feb 2009 03:24:46 +0000 (19:24 -0800)
commit6cfff91d43885f60cbe30a7b237c69fcc85e31a2
treede5beb122aa7a8761f458d5f51c6e977f997740c
parent5d029ff11e88ba0ab89c88e500c5d0d2edaf744e
Make etherdump timestamps zero-based.
We previously used the actual wall time for the base timestamps,
making etherdumps non-deterministic.  This fixes that problem and
gets rid of the "malformed packet" at the front that we needed to
provide the right base timestamp to wireshark/tcpdump.
src/dev/etherdump.cc
src/dev/etherdump.hh