diff options
author | ivo <ivo@UFO-Net.nl> | 2010-06-11 18:31:24 +0200 |
---|---|---|
committer | ivo <ivo@UFO-Net.nl> | 2010-06-11 18:31:24 +0200 |
commit | db0e526ced16c178e2b1d15ae9749e80fe489f58 (patch) | |
tree | 3e6e5ff12e023d1dbceddfe7054946099bfc5038 /doc/ucis.ano | |
parent | f8938c5c6f8ad6fff2c4b1771a7d53b290667343 (diff) | |
download | resdb-db0e526ced16c178e2b1d15ae9749e80fe489f58.tar.gz resdb-db0e526ced16c178e2b1d15ae9749e80fe489f58.zip |
Bugfix
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]); } } |