changeset 47:f2fb1d2dcf8c draft

fixed another bug (misnamed ASes)
author Nick <nick@somerandomnick.ano>
date Sat, 12 Jun 2010 00:13:52 +0000
parents c79c2e94307c
children 039303d2e28d
files doc/ucis.ano/bgp_graph/path_list_to_dot.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php	Sat Jun 12 00:05:16 2010 +0000
+++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php	Sat Jun 12 00:13:52 2010 +0000
@@ -30,7 +30,7 @@
 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");