diff options
Diffstat (limited to 'doc/ucis.ano')
-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 d198331..9efeb79 100755 --- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php +++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php @@ -18,7 +18,7 @@ while (!feof($file)) { foreach ($nodes as $node => $links) { foreach ($links as $link => $dummy) { - if (isset($nodes[$node][$link]) && isset($nodes[$link][$node])) unset($nodes[$link][$node]); + if ($node != link && isset($nodes[$node][$link]) && isset($nodes[$link][$node])) unset($nodes[$link][$node]); } } |