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
Add model Reno, NewReno and Tahoe with ns3
[simgrid.git]
/
src
/
surf
/
network_ns3.c
diff --git
a/src/surf/network_ns3.c
b/src/surf/network_ns3.c
index
0d18ffd
..
095f401
100644
(file)
--- a/
src/surf/network_ns3.c
+++ b/
src/surf/network_ns3.c
@@
-371,7
+371,8
@@
void surf_network_model_init_NS3(const char *filename)
surf_network_model->extension.network.communicate = ns3_communicate;
/* Added the initialization for NS3 interface */
surf_network_model->extension.network.communicate = ns3_communicate;
/* Added the initialization for NS3 interface */
- if (ns3_initialize()) {
+
+ if (ns3_initialize(xbt_cfg_get_string(_surf_cfg_set,"ns3/TcpModel"))) {
xbt_die("Impossible to initialize NS3 interface");
}
xbt_die("Impossible to initialize NS3 interface");
}