diff -r 46446b2e3c9d src/node/simple-channel.cc --- a/src/node/simple-channel.cc Thu Aug 14 18:25:33 2008 -0400 +++ b/src/node/simple-channel.cc Thu Aug 14 20:50:16 2008 -0400 @@ -19,6 +19,7 @@ */ #include "simple-channel.h" #include "simple-net-device.h" +#include "ns3/simulator.h" #include "ns3/packet.h" namespace ns3 { @@ -48,7 +49,7 @@ SimpleChannel::Send (Ptr p, uint { continue; } - tmp->Receive (p->Copy (), protocol, to, from); + Simulator::ScheduleNow (&SimpleNetDevice::Receive, tmp, p->Copy (), protocol, to, from); } }