summaryrefslogtreecommitdiff
path: root/src/dev/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/net')
-rw-r--r--src/dev/net/etherdump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/net/etherdump.cc b/src/dev/net/etherdump.cc
index c537fbf57..1fe462764 100644
--- a/src/dev/net/etherdump.cc
+++ b/src/dev/net/etherdump.cc
@@ -45,7 +45,7 @@
using std::string;
EtherDump::EtherDump(const Params *p)
- : SimObject(p), stream(simout.create(p->file, true)),
+ : SimObject(p), stream(simout.create(p->file, true)->stream()),
maxlen(p->maxlen)
{
}