projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Small fixes to graph algorithms
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
1895bc1
..
230f2ba
100644
(file)
--- a/
src/net.c
+++ b/
src/net.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: net.c,v 1.35.4.14
3 2001/10/30 16:34:32
guus Exp $
+ $Id: net.c,v 1.35.4.14
4 2001/10/31 12:50:24
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-975,7
+975,8
@@
cp
/* Deactivate */
c->status.active = 0;
/* Deactivate */
c->status.active = 0;
- c->node->connection = NULL;
+ if(c->node)
+ c->node->connection = NULL;
do_prune = 1;
cp
}
do_prune = 1;
cp
}