Fix very stupid bug in node_del(), which might have caused corruption of
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 29 Apr 2002 20:05:07 +0000 (20:05 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 29 Apr 2002 20:05:07 +0000 (20:05 +0000)
subnets.

src/node.c

index e4581cc5e0d3e7cd0de32fe43b004acab04ccc87..2b31af4d442752df5f4e578dcbbb76f1f27672e1 100644 (file)
@@ -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;