From 55aa537fb54a9c01820d4638babccdc8f8a0ef04 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 22 Feb 2016 21:29:04 +0100 Subject: Add "drop privileges force" option which allows to drop CAP_NET_ADMIN even when fastd thinks it might still need it --- src/fastd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fastd.c') diff --git a/src/fastd.c b/src/fastd.c index 37b00f9..1c4a00f 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -571,7 +571,7 @@ static inline void init(int argc, char *argv[]) { exit_errno("status: close"); } - if (conf.drop_caps == DROP_CAPS_EARLY) + if (conf.drop_caps == DROP_CAPS_EARLY || conf.drop_caps == DROP_CAPS_FORCE) drop_caps(); if (ctx.iface) -- cgit v1.2.3