From 027bc169122da152fd54ec6c6fc6f5cfc2fcbb8f Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 11 Jun 2010 20:04:28 +0000 Subject: was generating malformed dot --- doc/ucis.ano/bgp_graph/path_list_to_dot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/ucis.ano/bgp_graph') 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 5ad8152..7df2066 100755 --- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php +++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php @@ -33,10 +33,10 @@ foreach ($nodes as $node => $links) { if (!array_key_exists($link,$nodelist)) $nodelist[$node]=nodename($link); }; +print("graph BGP_nodes {\n"); foreach ($nodelist as $node => $name) print "\t".$node.' [label="'.$name.'"]'."\n"; -print("graph BGP_nodes {\n"); foreach ($nodes as $node => $links) { foreach ($links as $link => $dummy) { print("\t".$node.' -- '.$link.";\n"); -- cgit v1.2.3