A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cosmetics: variable&fields renaming
[simgrid.git]
/
src
/
surf
/
surf_routing_rulebased.c
diff --git
a/src/surf/surf_routing_rulebased.c
b/src/surf/surf_routing_rulebased.c
index
5ae26c0
..
357c33d
100644
(file)
--- a/
src/surf/surf_routing_rulebased.c
+++ b/
src/surf/surf_routing_rulebased.c
@@
-92,7
+92,7
@@
static void model_rulebased_parse_route(AS_t rc,
const char *error;
int erroffset;
const char *error;
int erroffset;
- if(!strcmp(rc->
routing
->name,"Vivaldi")){
+ if(!strcmp(rc->
model_desc
->name,"Vivaldi")){
if(xbt_dynar_length(route->generic_route.link_list) != 0)
xbt_die("You can't have link_ctn with Model Vivaldi.");
}
if(xbt_dynar_length(route->generic_route.link_list) != 0)
xbt_die("You can't have link_ctn with Model Vivaldi.");
}
@@
-120,7
+120,7
@@
static void model_rulebased_parse_ASroute(AS_t rc,
const char *error;
int erroffset;
const char *error;
int erroffset;
- if(!strcmp(rc->
routing
->name,"Vivaldi")){
+ if(!strcmp(rc->
model_desc
->name,"Vivaldi")){
if(xbt_dynar_length(route->generic_route.link_list) != 0)
xbt_die("You can't have link_ctn with Model Vivaldi.");
}
if(xbt_dynar_length(route->generic_route.link_list) != 0)
xbt_die("You can't have link_ctn with Model Vivaldi.");
}