We can safely delete a connection_t in terminate_connection() now.
[tinc] / src / connection.h
index 9906f0d..6537e51 100644 (file)
@@ -40,7 +40,7 @@ typedef union connection_status_t {
                int active:1;                           /* 1 if active.. */
                int connecting:1;                       /* 1 if we are waiting for a non-blocking connect() to finish */
                int termreq:1;                          /* the termination of this connection was requested */
-               int remove:1;                           /* Set to 1 if you want this connection removed */
+               int remove_unused:1;                            /* Set to 1 if you want this connection removed */
                int timeout:1;                          /* 1 if gotten timeout */
                int encryptout:1;                       /* 1 if we can encrypt outgoing traffic */
                int decryptin:1;                        /* 1 if we have to decrypt incoming traffic */