diff options
author | 2016-07-10 12:24:34 -0400 | |
---|---|---|
committer | 2016-07-10 12:24:34 -0400 | |
commit | be8e844ec731a7885bbee37a2f977ed4dae2a3c7 (patch) | |
tree | e55b581d5e4e8325ee7dd7751b99b4c11813c0bc /src/faudit/network.c | |
parent | --noexec (diff) | |
download | firejail-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.c | 1 |
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 | ||
50 | void check_netlink(void) { | 50 | void 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"); |