aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-nm/nm/nm_backend.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-07-27 14:45:15 +0200
committerTobias Brunner <tobias@strongswan.org>2012-07-27 14:46:42 +0200
commit63ac6d00b0b40042b7edce487a86f79940fe6f4a (patch)
tree9c181563c0be676b5fad49dd6934c9522c4c7731 /src/charon-nm/nm/nm_backend.c
parent8ff109482351b23f8f1009c901dcd45b7c341378 (diff)
downloadstrongswan-63ac6d00b0b40042b7edce487a86f79940fe6f4a.tar.bz2
strongswan-63ac6d00b0b40042b7edce487a86f79940fe6f4a.tar.xz
Proper fallback if capability dropping is not available
Diffstat (limited to 'src/charon-nm/nm/nm_backend.c')
-rw-r--r--src/charon-nm/nm/nm_backend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charon-nm/nm/nm_backend.c b/src/charon-nm/nm/nm_backend.c
index a9ad9bdc9..f36cf1f68 100644
--- a/src/charon-nm/nm/nm_backend.c
+++ b/src/charon-nm/nm/nm_backend.c
@@ -22,7 +22,9 @@
#include <daemon.h>
#include <processing/jobs/callback_job.h>
+#ifndef CAP_DAC_OVERRIDE
#define CAP_DAC_OVERRIDE 1
+#endif
typedef struct nm_backend_t nm_backend_t;