X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9960ea202c197830987b497fd1d2619c887ea9eb..1bf71617c94b4c2ff15ac076992a24a0fdbaa897:/src/kernel/routing/ClusterZone.cpp diff --git a/src/kernel/routing/ClusterZone.cpp b/src/kernel/routing/ClusterZone.cpp index ad30187323..33e08639e7 100644 --- a/src/kernel/routing/ClusterZone.cpp +++ b/src/kernel/routing/ClusterZone.cpp @@ -20,7 +20,7 @@ ClusterZone::ClusterZone(NetZone* father, std::string name) : NetZoneImpl(father { } -void ClusterZone::getLocalRoute(NetPoint* src, NetPoint* dst, sg_platf_route_cbarg_t route, double* lat) +void ClusterZone::getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArgs* route, double* lat) { XBT_VERB("cluster getLocalRoute from '%s'[%u] to '%s'[%u]", src->getCname(), src->id(), dst->getCname(), dst->id()); xbt_assert(not privateLinks_.empty(), @@ -130,7 +130,7 @@ void ClusterZone::create_links_for_node(ClusterCreationArgs* cluster, int id, in surf::LinkImpl *linkUp; surf::LinkImpl *linkDown; - if (link.policy == SURF_LINK_FULLDUPLEX) { + if (link.policy == SURF_LINK_SPLITDUPLEX) { linkUp = surf::LinkImpl::byName(link_id + "_UP"); linkDown = surf::LinkImpl::byName(link_id + "_DOWN"); } else {