Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
obvious typo
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 28 Feb 2014 09:04:36 +0000 (10:04 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 28 Feb 2014 09:04:36 +0000 (10:04 +0100)
src/surf/surf_routing_full.cpp

index 4c0aeb0..293b317 100644 (file)
@@ -182,7 +182,7 @@ void AsFull::parseRoute(sg_platf_route_cbarg_t route)
           "between \"%s\" and \"%s\"", src, dst);
     }
   } else {
           "between \"%s\" and \"%s\"", src, dst);
     }
   } else {
-    if (!route->gw_dst && !route->gw_dst)
+    if (!route->gw_src && !route->gw_dst)
       XBT_DEBUG("Load Route from \"%s\" to \"%s\"", src, dst);
     else {
       // FIXME We can call a gw which is down the current AS (cf g5k.xml) but not upper.
       XBT_DEBUG("Load Route from \"%s\" to \"%s\"", src, dst);
     else {
       // FIXME We can call a gw which is down the current AS (cf g5k.xml) but not upper.