View | Details | Raw Unified | Return to bug 505
Collapse All | Expand All

(-)a/src/devices/wifi/wifi-net-device.cc (-1 / +1 lines)
 Lines 283-289    Link Here 
283
void
283
void
284
WifiNetDevice::ForwardUp (Ptr<Packet> packet, Mac48Address from, Mac48Address to)
284
WifiNetDevice::ForwardUp (Ptr<Packet> packet, Mac48Address from, Mac48Address to)
285
{
285
{
286
  m_rxLogger (packet, from);
287
  LlcSnapHeader llc;
286
  LlcSnapHeader llc;
288
  packet->RemoveHeader (llc);
287
  packet->RemoveHeader (llc);
289
  enum NetDevice::PacketType type;
288
  enum NetDevice::PacketType type;
 Lines 305-310    Link Here 
305
    }
304
    }
306
  if (type != NetDevice::PACKET_OTHERHOST)
305
  if (type != NetDevice::PACKET_OTHERHOST)
307
    {
306
    {
307
      m_rxLogger (packet, from);
308
      m_forwardUp (this, packet, llc.GetType (), from);
308
      m_forwardUp (this, packet, llc.GetType (), from);
309
    }
309
    }
310
  if (!m_promiscRx.IsNull ())
310
  if (!m_promiscRx.IsNull ())

Return to bug 505