X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet.c;h=5638e64dd7a8b3f18255cd04883939c7184eb4e6;hb=760dd966efe7dbff316a8c638e40dee162848256;hp=b47c702d34fd47db08274184534294029623993c;hpb=3909b8e51b27b11c6d54541220cb7767bf25569c;p=tinc diff --git a/src/net.c b/src/net.c index b47c702d..5638e64d 100644 --- a/src/net.c +++ b/src/net.c @@ -39,8 +39,6 @@ #include "subnet.h" #include "xalloc.h" -volatile bool running = false; - /* Purge edges and subnets of unreachable nodes. Use carefully. */ static void purge(void) @@ -278,13 +276,8 @@ void handle_meta_connection_data(int fd, short events, void *data) } } -static void dummy(int a, short b, void *c) -{ -} - static void sigterm_handler(int signal, short events, void *data) { logger(LOG_NOTICE, _("Got %s signal"), strsignal(signal)); - running = false; event_loopexit(NULL); }