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
try to fix ns3 examples. Not sure this was the way intended, but it avoids crashes...
[simgrid.git]
/
src
/
surf
/
network_ns3.cpp
diff --git
a/src/surf/network_ns3.cpp
b/src/surf/network_ns3.cpp
index
34d92a0
..
f74f504
100644
(file)
--- a/
src/surf/network_ns3.cpp
+++ b/
src/surf/network_ns3.cpp
@@
-286,7
+286,7
@@
LinkNS3::LinkNS3(NetworkNS3Model* model, const std::string& name, double bandwid
{
bandwidth_.peak = bandwidth;
latency_.peak = latency;
-
+ sharing_policy_ = policy;
/* If wifi, create the wifizone now. If not, don't do anything: the links will be created in routeCreate_cb */
s4u::Link::on_creation(*this->get_iface());