summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/ucis.ano/bgp_graph/path_list_to_dot.php4
1 files changed, 2 insertions, 2 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 5fb9cfb..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,12 +30,12 @@ $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");
foreach ($nodelist as $node => $name)
- print "\t".$node.' [label="'.$name.'"]'."\n";
+ print "\t".$node.' [label="'.$name.'"];'."\n";
foreach ($nodes as $node => $links) {
foreach ($links as $link => $dummy) {