X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/da23351cb44bc018edc2c181b90bcdb7083b061c..b88233071eaaef45c854e84a8c7b460ab5793b7d:/src/kernel/routing/RoutedZone.cpp diff --git a/src/kernel/routing/RoutedZone.cpp b/src/kernel/routing/RoutedZone.cpp index 1a2058b83b..9ff45720de 100644 --- a/src/kernel/routing/RoutedZone.cpp +++ b/src/kernel/routing/RoutedZone.cpp @@ -59,7 +59,10 @@ namespace simgrid { namespace kernel { namespace routing { -RoutedZone::RoutedZone(NetZoneImpl* father, std::string name) : NetZoneImpl(father, name) {} +RoutedZone::RoutedZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel) + : NetZoneImpl(father, name, netmodel) +{ +} void RoutedZone::get_graph(xbt_graph_t graph, std::map* nodes, std::map* edges) @@ -199,7 +202,7 @@ void RoutedZone::add_route_check_params(NetPoint* src, NetPoint* dst, NetPoint* dstName, gw_dst->get_cname()); } - piface_.on_route_creation(symmetrical, src, dst, gw_src, gw_dst, link_list); + get_iface()->on_route_creation(symmetrical, src, dst, gw_src, gw_dst, link_list); } } }