From 7caa253df4a34e594438e3fbe80c2bddab9a2b4a Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 29 Apr 2002 20:05:07 +0000 Subject: [PATCH] Fix very stupid bug in node_del(), which might have caused corruption of subnets. --- src/node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.c b/src/node.c index e4581cc5..2b31af4d 100644 --- a/src/node.c +++ b/src/node.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: node.c,v 1.1.2.11 2002/03/22 13:31:18 guus Exp $ + $Id: node.c,v 1.1.2.12 2002/04/29 20:05:07 guus Exp $ */ #include "config.h" @@ -123,7 +123,7 @@ cp subnet_del(n, s); } - for(node = n->subnet_tree->head; node; node = next) + for(node = n->edge_tree->head; node; node = next) { next = node->next; e = (edge_t *)node->data;