Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to fix ns3 examples. Not sure this was the way intended, but it avoids crashes...
[simgrid.git] / src / surf / network_ns3.cpp
index 34d92a0..f74f504 100644 (file)
@@ -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());