From: Guus Sliepen Date: Mon, 29 Apr 2002 20:05:07 +0000 (+0000) Subject: Fix very stupid bug in node_del(), which might have caused corruption of X-Git-Tag: release-1.0pre8~76 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=7caa253df4a34e594438e3fbe80c2bddab9a2b4a;p=tinc Fix very stupid bug in node_del(), which might have caused corruption of subnets. --- 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;