From: Martin Quinson Date: Wed, 23 May 2018 18:50:37 +0000 (+0200) Subject: fix NS3 builds X-Git-Tag: v3.20~197 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/164354d45e8fc361488fcdff50aee3c655c0d220?hp=f679512d82a1ab52c61c4ccebc5144362334a65a fix NS3 builds --- diff --git a/src/surf/network_ns3.cpp b/src/surf/network_ns3.cpp index 820493bccf..f9d8731294 100644 --- a/src/surf/network_ns3.cpp +++ b/src/surf/network_ns3.cpp @@ -232,7 +232,7 @@ void NetworkNS3Model::update_actions_state(double now, double delta) std::vector route = std::vector(); - action->src_->routeTo(action->dst_, route, nullptr); + action->src_->route_to(action->dst_, route, nullptr); for (auto const& link : route) TRACE_surf_resource_set_utilization("LINK", "bandwidth_used", link->get_cname(), action->get_category(), (data_delta_sent) / delta, now - delta, delta);