summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/ucis.ano/bgp_graph/path_list_to_dot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ucis.ano/bgp_graph/path_list_to_dot.php b/doc/ucis.ano/bgp_graph/path_list_to_dot.php
index b23babd..e6a449f 100755
--- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php
+++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php
@@ -30,7 +30,7 @@ $nodelist=array();
foreach ($nodes as $node => $links) {
if (!array_key_exists($node,$nodelist)) $nodelist[$node]=nodename($node);
foreach ($links as $link => $dummy)
- if (!array_key_exists($link,$nodelist)) $nodelist[$node]=nodename($link);
+ if (!array_key_exists($link,$nodelist)) $nodelist[$link]=nodename($link);
};
print("graph BGP_nodes {\n");