Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add boolean state to resources and protect set_core_count
[simgrid.git] / src / surf / network_interface.cpp
index 7a8aa54..23a464a 100644 (file)
@@ -153,12 +153,14 @@ void LinkImpl::turn_off()
     }
   }
 }
+
 void LinkImpl::seal()
 {
   this->set_model(surf_network_model);
-
+  Resource::seal();
   simgrid::s4u::Link::on_creation(*get_iface());
 }
+
 void LinkImpl::on_bandwidth_change() const
 {
   s4u::Link::on_bandwidth_change(this->piface_);