Skip to content
Snippets Groups Projects
Commit 32ff18d7 authored by Shudong Zhou's avatar Shudong Zhou
Browse files

Inter-switch links are double counted

parent 4c344268
No related branches found
No related tags found
No related merge requests found
......@@ -1953,7 +1953,7 @@ public class TopologyImpl
int num_links = 0;
for (Set<LinkTuple> links : switchLinks.values())
num_links += links.size();
info.put("# inter-switch links", num_links);
info.put("# inter-switch links", num_links / 2);
return info;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment