summaryrefslogtreecommitdiff
path: root/src/dev/etherdump.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/etherdump.hh')
-rw-r--r--src/dev/etherdump.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dev/etherdump.hh b/src/dev/etherdump.hh
index 1027ce4d0..18a5d2c44 100644
--- a/src/dev/etherdump.hh
+++ b/src/dev/etherdump.hh
@@ -46,13 +46,11 @@
class EtherDump : public SimObject
{
private:
- std::ofstream stream;
+ std::ostream *stream;
const int maxlen;
void dumpPacket(EthPacketPtr &packet);
void init();
- Tick curtime;
-
public:
typedef EtherDumpParams Params;
EtherDump(const Params *p);