From b01837b1d7915591c9f7bca30b3891870e7c6b23 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 12 Jun 2010 00:05:16 +0000 Subject: forgot semicolons in dot code (bug reported and tracked down by UFO) --- doc/ucis.ano/bgp_graph/path_list_to_dot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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..b23babd 100755 --- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php +++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php @@ -35,7 +35,7 @@ foreach ($nodes as $node => $links) { 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) { -- cgit v1.2.3 From 381366508328917898846e4999a1071eb753930a Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 12 Jun 2010 00:13:52 +0000 Subject: fixed another bug (misnamed ASes) --- doc/ucis.ano/bgp_graph/path_list_to_dot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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"); -- cgit v1.2.3