document also mobility model notifier
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 28 Aug 2007 11:22:01 +0200
changeset 1375 4f45bec005b8
parent 1374 77468496f7e0
child 1376 ad7e61edfb9d
document also mobility model notifier
utils/print-trace-sources.cc
--- a/utils/print-trace-sources.cc	Tue Aug 28 11:21:42 2007 +0200
+++ b/utils/print-trace-sources.cc	Tue Aug 28 11:22:01 2007 +0200
@@ -5,12 +5,14 @@
 #include "ns3/point-to-point-net-device.h"
 #include "ns3/csma-cd-net-device.h"
 #include "ns3/queue.h"
+#include "ns3/mobility-model-notifier.h"
 
 using namespace ns3;
 
 int main (int argc, char *argv[])
 {
   Ptr<Node> node = Create<InternetNode> ();
+  node->AddInterface (Create<MobilityModelNotifier> ());
 
   Ptr<PointToPointNetDevice> p2p = Create<PointToPointNetDevice> (node);
   p2p->AddQueue (Queue::CreateDefault ());