changeset 48:039303d2e28d draft

Merge branch 'master' of git://git1.somerandomnick.ano
author ivo <ivo@UFO-Net.nl>
date Sat, 12 Jun 2010 02:30:03 +0200
parents 21cba5fdad69 (current diff) f2fb1d2dcf8c (diff)
children c2a5a961039b
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php	Sat Jun 12 02:00:03 2010 +0200
+++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php	Sat Jun 12 02:30:03 2010 +0200
@@ -30,12 +30,12 @@
 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) {