summaryrefslogtreecommitdiffstats
path: root/src/faudit/network.c
diff options
context:
space:
mode:
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");