- /* (1) find the as where the src and dst are located */
- sg_netcard_t src_data = src;
- sg_netcard_t dst_data = dst;
- src_as = src_data->containingAS();
- dst_as = dst_data->containingAS();
-#ifndef NDEBUG
- char* src_name = src_data->name();
- char* dst_name = dst_data->name();
-#endif
+ /* (1) find the path to root of src and dst*/
+ simgrid::surf::As *src_as = src->containingAS();
+ simgrid::surf::As *dst_as = dst->containingAS();