Properly implement tinc.texi's dependency on tincinclude.texi.
[tinc] / src / net.c
index 4b64492..1fecd88 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -218,6 +218,7 @@ void terminate_connection(connection_t *c, bool report) {
                }
 
                edge_del(c->edge);
+               c->edge = NULL;
 
                /* Run MST and SSSP algorithms */