Also check access for dijkstra_net_meta_new_to_list
This commit is contained in:
parent
12d5bdc738
commit
f37ec6d03f
@ -573,7 +573,9 @@ struct dijkstra_net_meta *dijkstra_net_meta_new_to_list(struct dijkstra_solver *
|
|||||||
|
|
||||||
for (l = solver->net_metas; l != NULL; l = l->next) {
|
for (l = solver->net_metas; l != NULL; l = l->next) {
|
||||||
net_meta = l->data;
|
net_meta = l->data;
|
||||||
if (net_meta->type == net_type && !strcmp(net_meta->name, name)) {
|
if (net_meta->type == net_type &&
|
||||||
|
!strcmp(net_meta->name, name) &&
|
||||||
|
(net_meta->access && (!strcmp(net_meta->access, access)))) {
|
||||||
return net_meta;
|
return net_meta;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user