Fixed typos. When terminating a connection, it's status is not only set to
[tinc] / src / net.c
index 2d16ae8..60b7b79 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -826,6 +826,7 @@ cp
       syslog(LOG_NOTICE, "Try to re-establish outgoing connection in 5 seconds.");
     }
   
+  cl->status.active = 0;
   cl->status.remove = 1;
 cp
 }