Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sort out the Link::onCommunicate signal
[simgrid.git] / src / surf / network_ns3.cpp
index 606da4f..ceb4afc 100644 (file)
@@ -368,7 +368,7 @@ NetworkNS3Action::NetworkNS3Action(Model *model, double size, NetCard *src, NetC
   dstElm_ = dst;
   ns3_create_flow(src->name(), dst->name(), surf_get_clock(), size, this);
 
-  networkCommunicateCallbacks(this, src, dst, size, 0);
+  Link::onCommunicate(this, src, dst);
 }
 
 void NetworkNS3Action::suspend() {