Use tinc 1.0's event infrastructure to handle timeouts.
[tinc] / src / control.c
index b8e5204..73d7916 100644 (file)
@@ -54,7 +54,7 @@ bool control_h(connection_t *c, char *request) {
 
        switch (type) {
                case REQ_STOP:
-                       event_loopexit(NULL);
+                       abort();
                        return control_ok(c, REQ_STOP);
 
                case REQ_DUMP_NODES: