diff options
author | Nick <nick@somerandomnick.ano> | 2010-06-11 20:04:28 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2010-06-11 20:04:28 +0000 |
commit | 027bc169122da152fd54ec6c6fc6f5cfc2fcbb8f (patch) | |
tree | c50e93f2d3703e87d88a5f29e18f4173ff087f9a /doc | |
parent | 2e8b757b64e8d8449cefb870581ac4d49dba32e9 (diff) | |
download | resdb-027bc169122da152fd54ec6c6fc6f5cfc2fcbb8f.tar.gz resdb-027bc169122da152fd54ec6c6fc6f5cfc2fcbb8f.zip |
was generating malformed dot
Diffstat (limited to 'doc')
-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"); |