summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2009-12-23 19:49:00 +0000
committerOthmar Gsenger <otti@anytun.org>2009-12-23 19:49:00 +0000
commit7a4a0671c201e7c4ca27ec9ed668f5e99523b0ac (patch)
tree228298ac35b701696f2c5b7163ad2ff271cddcbd /src
parentdo not end signalcontroller on EINTR (diff)
disable signal controller for FreeBSD. this needs some more works.
also TODO: fix priviledge dropping on FreeBSD
Diffstat (limited to 'src')
-rw-r--r--src/anytun.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index de8429f..63f250f 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -427,7 +427,9 @@ int main(int argc, char* argv[])
#endif
// this has to be called before the first thread is started
+#if !( defined(__FreeBSD__) || defined(__FreeBSD_kernel__))
gSignalController.init();
+#endif
gResolver.init();
#ifndef NO_CRYPT