X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39cfe4998b59626bdcc96dc00d3bf029825a10a5..4dac6adc7601ff45e1bb458032c95fab5c73721d:/src/s4u/s4u_Host.cpp?ds=sidebyside diff --git a/src/s4u/s4u_Host.cpp b/src/s4u/s4u_Host.cpp index b8acf614ca..db85aa3ec9 100644 --- a/src/s4u/s4u_Host.cpp +++ b/src/s4u/s4u_Host.cpp @@ -171,6 +171,12 @@ void Host::route_to(Host* dest, std::vector& links, } } +/** @brief Returns the networking zone englobing that host */ +NetZone* Host::get_englobing_zone() +{ + return pimpl_netpoint->get_englobing_zone()->get_iface(); +} + void Host::send_to(Host* dest, double byte_amount) { std::vector m_host_list = {this, dest};