X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol.c;h=2e6be57679f0fbb5799ac25535ee3a423abe57bb;hb=refs%2Fheads%2F1.1-threads;hp=b8e5204b9db0a58d6e1b2e2fbe1bd1f6d82a01f8;hpb=886a6f61a1f4cc48a77b42d10f34f9126377d904;p=tinc diff --git a/src/control.c b/src/control.c index b8e5204b..2e6be576 100644 --- a/src/control.c +++ b/src/control.c @@ -54,7 +54,7 @@ bool control_h(connection_t *c, char *request) { switch (type) { case REQ_STOP: - event_loopexit(NULL); + running = false; return control_ok(c, REQ_STOP); case REQ_DUMP_NODES: