X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ac389dc4950914073f9d0e80703e7593590babb9..5edec65e26d76490b9753d8db950a8a2ddf3cb2c:/examples/platforms/griffon.cpp diff --git a/examples/platforms/griffon.cpp b/examples/platforms/griffon.cpp index a66a8bbdaf..04a83e6fcf 100644 --- a/examples/platforms/griffon.cpp +++ b/examples/platforms/griffon.cpp @@ -38,8 +38,7 @@ create_cabinet(const sg4::NetZone* root, const std::string& name, const std::vec const sg4::Link* link = cluster->create_split_duplex_link(hostname, "125MBps")->set_latency("24us"); /* add link and backbone for communications from the host */ - cluster->add_route(host->get_netpoint(), nullptr, nullptr, nullptr, - {{link, sg4::LinkInRoute::Direction::UP}, backbone}, true); + cluster->add_route(host, nullptr, {{link, sg4::LinkInRoute::Direction::UP}, backbone}, true); } /* create gateway */