commit | 6995bb7155ec1cd301028fa9ef0aa8a0e33b7eba | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <aa@cs.fiu.edu> | Sat Feb 23 15:53:26 2019 -0500 |
committer | Alexander Afanasyev <aa@cs.fiu.edu> | Sun Feb 24 12:40:58 2019 -0500 |
tree | ac01d06212f1099a477c8aeaced661e0250d0f21 | |
parent | dc3c3a39f185baacf7c019972367a56370a969e2 [diff] [blame] |
helper: Fix NDN stack initialization when using VisualSimulatorImpl Change-Id: Ide284d87a0d06c11a7191fdea5b58169392281a2
diff --git a/helper/ndn-strategy-choice-helper.cpp b/helper/ndn-strategy-choice-helper.cpp index 215d34b..43cd9fd 100644 --- a/helper/ndn-strategy-choice-helper.cpp +++ b/helper/ndn-strategy-choice-helper.cpp
@@ -64,8 +64,7 @@ Simulator::ScheduleWithContext(node->GetId(), Seconds(0), &StrategyChoiceHelper::sendCommand, parameters, node); - Simulator::Stop(Seconds(0)); - Simulator::Run(); + StackHelper::ProcessWarmupEvents(); } void