projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
67a6d7b
)
Fix very stupid bug in node_del(), which might have caused corruption of
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 29 Apr 2002 20:05:07 +0000
(20:05 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 29 Apr 2002 20:05:07 +0000
(20:05 +0000)
subnets.
src/node.c
patch
|
blob
|
history
diff --git
a/src/node.c
b/src/node.c
index
e4581cc
..
2b31af4
100644
(file)
--- 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.
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.1
1 2002/03/22 13:31:18
guus Exp $
+ $Id: node.c,v 1.1.2.1
2 2002/04/29 20:05:07
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-123,7
+123,7
@@
cp
subnet_del(n, s);
}
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;
{
next = node->next;
e = (edge_t *)node->data;