examples/simple-point-to-point-olsr.cc
changeset 2823 a743c59882a0
parent 2821 8e1f6f923c51
child 2838 d120c4ca2d24
--- a/examples/simple-point-to-point-olsr.cc	Mon Mar 31 14:09:46 2008 -0700
+++ b/examples/simple-point-to-point-olsr.cc	Mon Mar 31 14:23:07 2008 -0700
@@ -172,6 +172,8 @@
   PointToPointHelper::EnablePcap ("simple-point-to-point-olsr.pcap");
   PointToPointHelper::EnableAscii (ascii);
 
+  Simulator::StopAt (Seconds (30));
+
   NS_LOG_INFO ("Run Simulation.");
   Simulator::Run ();
   Simulator::Destroy ();