X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6f6bfc3b15c87167d99f97ff96388a79cc50031d..e49d3a1ebc59da7d2e1a02ccf9a56ddc5223beef:/examples/platforms/routing_cluster.cpp?ds=sidebyside diff --git a/examples/platforms/routing_cluster.cpp b/examples/platforms/routing_cluster.cpp index 0f5117215e..b7b218f58d 100644 --- a/examples/platforms/routing_cluster.cpp +++ b/examples/platforms/routing_cluster.cpp @@ -40,9 +40,9 @@ static sg4::NetZone* create_cluster(const sg4::NetZone* root, const std::string& sg4::LinkInRoute link_down{l_down}; /* add link UP and backbone for communications from the host */ - cluster->add_route(host->get_netpoint(), nullptr, nullptr, nullptr, {link_up, backbone}, false); + cluster->add_route(host, nullptr, {link_up, backbone}, false); /* add backbone and link DOWN for communications to the host */ - cluster->add_route(nullptr, host->get_netpoint(), nullptr, nullptr, {backbone, link_down}, false); + cluster->add_route(nullptr, host, {backbone, link_down}, false); } /* create gateway*/