summaryrefslogtreecommitdiff
path: root/dev/etherbus.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/etherbus.cc')
-rw-r--r--dev/etherbus.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/etherbus.cc b/dev/etherbus.cc
index 3f6036f72..76697dd3e 100644
--- a/dev/etherbus.cc
+++ b/dev/etherbus.cc
@@ -81,7 +81,7 @@ EtherBus::reg(EtherInt *dev)
{ devlist.push_back(dev); }
bool
-EtherBus::send(EtherInt *sndr, PacketPtr pkt)
+EtherBus::send(EtherInt *sndr, PacketPtr &pkt)
{
if (busy()) {
DPRINTF(Ethernet, "ethernet packet not sent, bus busy\n", curTick);