forgot to remove uneeded copy
This commit is contained in:
1 parent
1740bf3dff
commit
8113eca521
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user