author | Raj Bhattacharjea <raj.b@gatech.edu> |
Fri, 15 Aug 2008 11:25:18 -0400 | |
changeset 3534 | e170f2c17e03 |
parent 3533 | 46446b2e3c9d |
child 3535 | 016c70fa60d8 |
--- a/src/node/simple-channel.cc Thu Aug 14 18:25:33 2008 -0400 +++ b/src/node/simple-channel.cc Fri Aug 15 11:25:18 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 @@ { continue; } - tmp->Receive (p->Copy (), protocol, to, from); + Simulator::ScheduleNow (&SimpleNetDevice::Receive, tmp, p->Copy (), protocol, to, from); } }