]> www.tinc-vpn.org Git - tinc/blobdiff - src/tincd.c
Drop libevent and use our own event handling again.
[tinc] / src / tincd.c
index 28f30a52c772b494154658931bce1770d1316817..3883ec263dfdf0555b128a937b4ca426f32fdc09 100644 (file)
@@ -450,15 +450,6 @@ int main2(int argc, char **argv) {
        }
 #endif
 
-#ifdef HAVE_DARWIN
-       setenv("EVENT_NOKQUEUE", "1", 0);
-#endif
-
-       if(!event_init()) {
-               logger(DEBUG_ALWAYS, LOG_ERR, "Error initializing libevent!");
-               return 1;
-       }
-
        /* Setup sockets and open device. */
 
        if(!setup_network())