src/devices/point-to-point/point-to-point-net-device.cc
changeset 1186 909e9eb2124e
parent 1167 2cb083ff04c6
child 1208 ad83a13631c1
child 1266 6b27f6b349ba
--- a/src/devices/point-to-point/point-to-point-net-device.cc	Tue Jul 31 11:42:25 2007 +0200
+++ b/src/devices/point-to-point/point-to-point-net-device.cc	Wed Aug 01 08:58:18 2007 +0200
@@ -220,12 +220,12 @@
 void PointToPointNetDevice::Receive (Packet& p)
 {
   NS_DEBUG ("PointToPointNetDevice::Receive (" << &p << ")");
-  uint16_t param = 0;
+  uint16_t protocol = 0;
   Packet packet = p;
 
-  ProcessHeader(packet, param);
+  ProcessHeader(packet, protocol);
   m_rxTrace (packet);
-  ForwardUp (packet, param);
+  ForwardUp (packet, protocol, GetBroadcast ());
 }
 
 Ptr<Queue> PointToPointNetDevice::GetQueue(void) const