changeset 34:e429d8af6e44 draft

fixed a typo
author Nick <nick@somerandomnick.ano>
date Fri, 11 Jun 2010 16:43:18 +0000
parents 6e8078af6baf
children bec289fc3b4a
files doc/ucis.ano/bgp_graph/path_list_to_dot.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php	Fri Jun 11 18:31:24 2010 +0200
+++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php	Fri Jun 11 16:43:18 2010 +0000
@@ -18,7 +18,7 @@
 
 foreach ($nodes as $node => $links) {
 	foreach ($links as $link => $dummy) {
-		if ($node != link && 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]);
 	}
 }