Bug 1659

Summary: Simulator::Stop is behind Simulator::Run ();
Product: ns-3 Reporter: Junling Bu <linlinjavaer>
Component: wifiAssignee: Nicola Baldo <nicola>
Status: RESOLVED FIXED    
Severity: normal CC: nikkipui, ns-bugs, ruben
Priority: P5    
Version: ns-3-dev   
Hardware: PC   
OS: Linux   
Attachments: simple patch for wifi-test.cc

Description Junling Bu 2013-04-28 08:29:48 UTC
Created attachment 1578 [details]
simple patch for wifi-test.cc

in src/wifi/test/wifi-test.cc line 144:
  Simulator::Run ();
  Simulator::Destroy ();

  Simulator::Stop (Seconds (10.0));

because event is not one by one ,so Simulator::Run () can quit naturally,
if sending packet repeatedly, here will be in endless loop.
Comment 1 Daniel L. 2013-04-30 09:11:24 UTC
fixed 9733:7eca59a61873