Bug 160 - InternetStackHelper::EnablePcapTrace isn't safe for multiple simulations runs in one script
InternetStackHelper::EnablePcapTrace isn't safe for multiple simulations runs...
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: samples
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-04 16:54 UTC by Rajib Bhattacharjea
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajib Bhattacharjea 2008-04-04 16:54:15 UTC
The InternetStackHelper keeps a static list of open tracefiles, which don't ever get cleaned up.  Some kind of cleanup function needs to be scheduled for simulator destroy time.
Comment 1 Craig Dowell 2008-05-08 12:58:25 UTC
Didn't attempt to anticipate what user wanted.  Every simulation results in overwriting pcap files.  If user wants to save, must do so manually at inter-simulation time.