--- 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