- xbt_dict_foreach(global_routing->where_network_elements, cursor_src, src, data) {
- xbt_dict_foreach(global_routing->where_network_elements, cursor_dst, dst, data) {
- if (strcmp(src,"loopback")==0 || strcmp(dst,"loopback")==0) continue;
+
+ xbt_lib_foreach(host_lib,cursor_src,src,data){
+ xbt_lib_foreach(host_lib,cursor_dst,dst,data){