From d06c2b4faede1a19c972297c3f52ef0a132ffb34 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Mon, 31 Mar 2008 14:23:07 -0700 Subject: [PATCH] add back max simulation time on olsr example --- examples/simple-point-to-point-olsr.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/simple-point-to-point-olsr.cc b/examples/simple-point-to-point-olsr.cc index f4717d7a2..71464b043 100644 --- a/examples/simple-point-to-point-olsr.cc +++ b/examples/simple-point-to-point-olsr.cc @@ -172,6 +172,8 @@ main (int argc, char *argv[]) PointToPointHelper::EnablePcap ("simple-point-to-point-olsr.pcap"); PointToPointHelper::EnableAscii (ascii); + Simulator::StopAt (Seconds (30)); + NS_LOG_INFO ("Run Simulation."); Simulator::Run (); Simulator::Destroy ();