changing UID/GID after startup of pluto/charon
[strongswan.git] / src / charon / kernel / kernel_interface.c
index d0560b1..c68c504 100644 (file)
@@ -447,7 +447,7 @@ static void add_attribute(struct nlmsghdr *hdr, int rta_type, chunk_t data,
 static void receive_events(private_kernel_interface_t *this)
 {
        /* keep netlink capabilities only */
-       charon->drop_capabilities(charon, TRUE, FALSE);
+       charon->drop_capabilities(charon, TRUE, TRUE, FALSE);
 
        while(TRUE) 
        {