projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure MTU probe replies are sent back the same way they came in.
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
9f94d89
..
be13164
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-450,6
+450,13
@@
int main2(int argc, char **argv) {
}
#endif
}
#endif
+#ifdef HAVE_DARWIN
+ if(!getenv("EVENT_KQUEUE"))
+ setenv("EVENT_NOKQUEUE", "1", 0);
+ if(!getenv("EVENT_POLL"))
+ setenv("EVENT_NOPOLL", "1", 0);
+#endif
+
if(!event_init()) {
logger(DEBUG_ALWAYS, LOG_ERR, "Error initializing libevent!");
return 1;
if(!event_init()) {
logger(DEBUG_ALWAYS, LOG_ERR, "Error initializing libevent!");
return 1;