- src, route->gw_src->p_name, dst, route->gw_dst->p_name);
- if (route->gw_dst->p_rcType == SURF_NETWORK_ELEMENT_NULL)
- xbt_die("The dst_gateway '%s' does not exist!", route->gw_dst->p_name);
- if (route->gw_src->p_rcType == SURF_NETWORK_ELEMENT_NULL)
- xbt_die("The src_gateway '%s' does not exist!", route->gw_src->p_name);
+ src, route->gw_src->getName(), dst, route->gw_dst->getName());
+ if (route->gw_dst->getRcType() == SURF_NETWORK_ELEMENT_NULL)
+ xbt_die("The dst_gateway '%s' does not exist!", route->gw_dst->getName());
+ if (route->gw_src->getRcType() == SURF_NETWORK_ELEMENT_NULL)
+ xbt_die("The src_gateway '%s' does not exist!", route->gw_src->getName());