aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fseccomp')
-rw-r--r--src/fseccomp/protocol.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fseccomp/protocol.c b/src/fseccomp/protocol.c
index b072f6ad6..25742c173 100644
--- a/src/fseccomp/protocol.c
+++ b/src/fseccomp/protocol.c
@@ -58,7 +58,6 @@ static char *protocol[] = {
58 "netlink", 58 "netlink",
59 "packet", 59 "packet",
60 "bluetooth", 60 "bluetooth",
61 "netlink",
62 NULL 61 NULL
63}; 62};
64 63
@@ -69,8 +68,7 @@ static struct sock_filter protocol_filter_command[] = {
69 WHITELIST(AF_INET6), 68 WHITELIST(AF_INET6),
70 WHITELIST(AF_NETLINK), 69 WHITELIST(AF_NETLINK),
71 WHITELIST(AF_PACKET), 70 WHITELIST(AF_PACKET),
72 WHITELIST(AF_BLUETOOTH), 71 WHITELIST(AF_BLUETOOTH)
73 WHITELIST(AF_NETLINK)
74}; 72};
75#endif 73#endif
76// Note: protocol[] and protocol_filter_command are synchronized 74// Note: protocol[] and protocol_filter_command are synchronized