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

(-)a/src/node/simple-channel.cc (-1 / +2 lines)
 Lines 19-24    Link Here 
19
 */
19
 */
20
#include "simple-channel.h"
20
#include "simple-channel.h"
21
#include "simple-net-device.h"
21
#include "simple-net-device.h"
22
#include "ns3/simulator.h"
22
#include "ns3/packet.h"
23
#include "ns3/packet.h"
23
24
24
namespace ns3 {
25
namespace ns3 {
 Lines 48-54   SimpleChannel::Send (Ptr<Packet> p, uint Link Here 
48
	{
49
	{
49
	  continue;
50
	  continue;
50
	}
51
	}
51
      tmp->Receive (p->Copy (), protocol, to, from);
52
      Simulator::ScheduleNow (&SimpleNetDevice::Receive, tmp, p->Copy (), protocol, to, from);
52
    }
53
    }
53
}
54
}
54
55

Return to bug 287