]> www.tinc-vpn.org Git - tinc/blobdiff - src/control.c
Use tinc 1.0's event infrastructure to handle timeouts.
[tinc] / src / control.c
index b8e5204b9db0a58d6e1b2e2fbe1bd1f6d82a01f8..73d79166700b0d631e01d0df7a49d61bfe941cfc 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: