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.
This commit is contained in:
Steve Reinhardt
2009-02-17 19:24:46 -08:00
parent 5d029ff11e
commit 6cfff91d43
2 changed files with 2 additions and 17 deletions

View File

@@ -51,8 +51,6 @@ class EtherDump : public SimObject
void dumpPacket(EthPacketPtr &packet);
void init();
Tick curtime;
public:
typedef EtherDumpParams Params;
EtherDump(const Params *p);