1.1 --- a/src/node/simple-channel.cc Thu Aug 14 18:25:33 2008 -0400
1.2 +++ b/src/node/simple-channel.cc Fri Aug 15 11:25:18 2008 -0400
1.3 @@ -19,6 +19,7 @@
1.4 */
1.5 #include "simple-channel.h"
1.6 #include "simple-net-device.h"
1.7 +#include "ns3/simulator.h"
1.8 #include "ns3/packet.h"
1.9
1.10 namespace ns3 {
1.11 @@ -48,7 +49,7 @@
1.12 {
1.13 continue;
1.14 }
1.15 - tmp->Receive (p->Copy (), protocol, to, from);
1.16 + Simulator::ScheduleNow (&SimpleNetDevice::Receive, tmp, p->Copy (), protocol, to, from);
1.17 }
1.18 }
1.19