diff options
author | Othmar Gsenger <otti@anytun.org> | 2009-12-23 19:49:00 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2009-12-23 19:49:00 +0000 |
commit | 7a4a0671c201e7c4ca27ec9ed668f5e99523b0ac (patch) | |
tree | 228298ac35b701696f2c5b7163ad2ff271cddcbd | |
parent | do not end signalcontroller on EINTR (diff) |
disable signal controller for FreeBSD. this needs some more works.
also TODO: fix priviledge dropping on FreeBSD
-rw-r--r-- | src/anytun.cpp | 2 |
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 |