summaryrefslogtreecommitdiff
path: root/dev/etherdump.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-02-03 11:24:03 -0500
committerNathan Binkert <binkertn@umich.edu>2004-02-03 11:24:03 -0500
commit85bc028185830fb534c10c244d5f39fcfe8c4da6 (patch)
tree59a830bc1aa9e0623cb997f20437925c300aff06 /dev/etherdump.cc
parent5164de4a03422090b253404a11b069d7d588c55e (diff)
parent368e6e3e570430b207b0194290242a2f98e565ca (diff)
downloadgem5-85bc028185830fb534c10c244d5f39fcfe8c4da6.tar.xz
merge
--HG-- extra : convert_revision : 47425264e672f727cbb13aa7b9bb2a67790b25e8
Diffstat (limited to 'dev/etherdump.cc')
-rw-r--r--dev/etherdump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/etherdump.cc b/dev/etherdump.cc
index 89f1ce382..6d86adc32 100644
--- a/dev/etherdump.cc
+++ b/dev/etherdump.cc
@@ -106,7 +106,7 @@ EtherDump::init()
}
void
-EtherDump::dumpPacket(PacketPtr packet)
+EtherDump::dumpPacket(PacketPtr &packet)
{
pcap_pkthdr pkthdr;
pkthdr.ts.tv_sec = curtime + (curTick / s_freq);