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.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/etherdump.hh b/src/dev/etherdump.hh
index 1027ce4d0..733e61c97 100644
--- a/src/dev/etherdump.hh
+++ b/src/dev/etherdump.hh
@@ -46,7 +46,7 @@
class EtherDump : public SimObject
{
private:
- std::ofstream stream;
+ std::ostream *stream;
const int maxlen;
void dumpPacket(EthPacketPtr &packet);
void init();