From db0e526ced16c178e2b1d15ae9749e80fe489f58 Mon Sep 17 00:00:00 2001 From: ivo Date: Fri, 11 Jun 2010 18:31:24 +0200 Subject: Bugfix --- doc/ucis.ano/bgp_graph/path_list_to_dot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/ucis.ano') 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]); } } -- cgit v1.2.3