capabilities: Some plugins don't actually require capabilities at runtime

This commit is contained in:
Tobias Brunner
2013-07-18 15:25:35 +02:00
parent 027676f750
commit dfc9902013
13 changed files with 17 additions and 14 deletions
+2 -1
View File
@@ -93,7 +93,8 @@ plugin_t *farp_plugin_create()
private_farp_plugin_t *this;
if (!lib->caps->keep(lib->caps, CAP_NET_RAW))
{ /* required to open ARP socket (AF_PACKET) */
{ /* required to open ARP socket (AF_PACKET). according to capabilities(7)
* it is also require to use the socket */
DBG1(DBG_NET, "farp plugin requires CAP_NET_RAW capability");
return NULL;
}