make sure the Rx trace event also gets the llc header to be symetric with the tx event.

This commit is contained in:
Mathieu Lacage
2008-03-19 10:30:59 -07:00
parent c8f4d234ea
commit 30525bef9a

View File

@@ -302,10 +302,10 @@ WifiNetDevice::SetReceiveCallback (NetDevice::ReceiveCallback cb)
void
WifiNetDevice::ForwardUp (Ptr<Packet> packet, const Mac48Address &from)
{
m_rxLogger (packet, from);
LlcSnapHeader llc;
packet->RemoveHeader (llc);
m_forwardUp (this, packet, llc.GetType (), from);
m_rxLogger (packet, from);
}
void