Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
using correct variables name when getting route from global_routing
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Sep 2010 14:55:52 +0000 (14:55 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Sep 2010 14:55:52 +0000 (14:55 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8294 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/network.c

index de80963..262dacc 100644 (file)
@@ -342,7 +342,7 @@ static void net_update_actions_state(double now, double delta)
                                    action->weight);
     }
 #ifdef HAVE_TRACING
-    xbt_dynar_t route = used_routing->get_route(action->src, action->dst);
+    xbt_dynar_t route = global_routing->get_route(action->src_name, action->dst_name);
     link_CM02_t link;
     unsigned int i;
     xbt_dynar_foreach(route, i, link) {