summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivo <ivo@UFO-Net.nl>2010-06-12 02:30:03 +0200
committerivo <ivo@UFO-Net.nl>2010-06-12 02:30:03 +0200
commitef375d5610ce7364f4559803bc7d508e6124eeb3 (patch)
tree0c151e2b130b004b56539d78cd7da6b1ecdb35d4
parent6a026a9ed0b752967280b7912486f4d51f154df6 (diff)
parent381366508328917898846e4999a1071eb753930a (diff)
downloadresdb-ef375d5610ce7364f4559803bc7d508e6124eeb3.tar.gz
resdb-ef375d5610ce7364f4559803bc7d508e6124eeb3.zip
Merge branch 'master' of git://git1.somerandomnick.ano
-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) {