summaryrefslogtreecommitdiff
path: root/dev/etherdump.cc
diff options
context:
space:
mode:
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);