forgot to remove uneeded copy

This commit is contained in:
Mathieu Lacage
2008-08-27 11:39:31 -07:00
parent 08833cb918
commit a54f875690

View File

@@ -255,7 +255,7 @@ Node::ReceiveFromDevice (Ptr<NetDevice> device, Ptr<const Packet> packet, uint16
{
if (promiscuous == i->promiscuous)
{
i->handler (device, packet->Copy (), protocol, from, to, packetType);
i->handler (device, packet, protocol, from, to, packetType);
found = true;
}
}