src/devices/wifi/wifi-net-device.cc
changeset 3448 0bd851bb1225
parent 3442 8eef02250bc9
child 3460 99698bc858e8
--- a/src/devices/wifi/wifi-net-device.cc	Mon Jul 07 10:37:09 2008 +0100
+++ b/src/devices/wifi/wifi-net-device.cc	Mon Jul 07 12:18:05 2008 +0100
@@ -310,19 +310,15 @@
   m_forwardUp = cb;
 }
 
-void 
-WifiNetDevice::SetPromiscuousReceiveCallback (NetDevice::PromiscuousReceiveCallback cb)
-{
-  // TODO
-}
-
 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);
+  Mac48Address to = from; // FIXME
+  PacketType packetType = PACKET_HOST; // FIXME
+  m_forwardUp (this, packet, llc.GetType (), from, to, packetType);
 }
 
 void