aboutsummaryrefslogtreecommitdiffstats
path: root/src/faudit/network.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-07-10 12:24:34 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-07-10 12:24:34 -0400
commitbe8e844ec731a7885bbee37a2f977ed4dae2a3c7 (patch)
treee55b581d5e4e8325ee7dd7751b99b4c11813c0bc /src/faudit/network.c
parent--noexec (diff)
downloadfirejail-be8e844ec731a7885bbee37a2f977ed4dae2a3c7.tar.gz
firejail-be8e844ec731a7885bbee37a2f977ed4dae2a3c7.tar.zst
firejail-be8e844ec731a7885bbee37a2f977ed4dae2a3c7.zip
compile fixes
Diffstat (limited to 'src/faudit/network.c')
-rw-r--r--src/faudit/network.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/faudit/network.c b/src/faudit/network.c
index 39821cd25..0e0ad1844 100644
--- a/src/faudit/network.c
+++ b/src/faudit/network.c
@@ -48,7 +48,6 @@ void check_ssh(void) {
48} 48}
49 49
50void check_netlink(void) { 50void check_netlink(void) {
51 socklen_t addr_len;
52 int sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, 0); 51 int sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, 0);
53 if (sock == -1) { 52 if (sock == -1) {
54 printf("GOOD: I cannot connect to netlink socket. Network utilities such as iproute2 will not work in the sandbox.\n"); 53 printf("GOOD: I cannot connect to netlink socket. Network utilities such as iproute2 will not work in the sandbox.\n");