-xbt_dict_t MSG_environment_as_get_routing_sons(msg_as_t as) {
- xbt_dict_t res = surf_AS_get_routing_sons(as);
- return res;
+void MSG_zone_get_sons(msg_netzone_t netzone, xbt_dict_t whereto)
+{
+ for (auto elem : *netzone->children()) {
+ xbt_dict_set(whereto, elem->name(), static_cast<void*>(elem), nullptr);
+ }