A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NS3] single call to start the NS3 simulator
[simgrid.git]
/
src
/
surf
/
ns3
/
ns3_interface.cc
diff --git
a/src/surf/ns3/ns3_interface.cc
b/src/surf/ns3/ns3_interface.cc
index
0640c95
..
33ad694
100644
(file)
--- a/
src/surf/ns3/ns3_interface.cc
+++ b/
src/surf/ns3/ns3_interface.cc
@@
-35,8
+35,7
@@
int port_number = 1025; //Port number is limited from 1025 to 65 000
static NS3Sim* ns3_sim = 0;
void ns3_simulator(double min){
static NS3Sim* ns3_sim = 0;
void ns3_simulator(double min){
- ns3_sim->simulator_stop(min);
- ns3_sim->simulator_start();
+ ns3_sim->simulator_start(min);
}
void* ns3_get_socket_action(void *socket){
}
void* ns3_get_socket_action(void *socket){