strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Proper fallback if capability dropping is not available
[strongswan.git]
/
src
/
libcharon
/
daemon.c
diff --git
a/src/libcharon/daemon.c
b/src/libcharon/daemon.c
index
ece5aff
..
612796a
100644
(file)
--- a/
src/libcharon/daemon.c
+++ b/
src/libcharon/daemon.c
@@
-29,6
+29,10
@@
#include <kernel/kernel_handler.h>
#include <processing/jobs/start_action_job.h>
+#ifndef CAP_NET_ADMIN
+#define CAP_NET_ADMIN 12
+#endif
+
typedef struct private_daemon_t private_daemon_t;
/**