diff options
-rwxr-xr-x | doc/ucis.ano/bgp_graph/path_list_to_dot.php | 2 |
1 files changed, 1 insertions, 1 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 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"); |