aboutsummaryrefslogtreecommitdiffstats
path: root/src/fbuilder/build_seccomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbuilder/build_seccomp.c')
-rw-r--r--src/fbuilder/build_seccomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbuilder/build_seccomp.c b/src/fbuilder/build_seccomp.c
index fbc0e06f4..b1f41a6c7 100644
--- a/src/fbuilder/build_seccomp.c
+++ b/src/fbuilder/build_seccomp.c
@@ -131,9 +131,9 @@ static void process_protocol(const char *fname) {
131 inet = 1; 131 inet = 1;
132 else if (strncmp(ptr, "AF_INET6 ", 9) == 0) 132 else if (strncmp(ptr, "AF_INET6 ", 9) == 0)
133 inet6 = 1; 133 inet6 = 1;
134 else if (strncmp(ptr, "AF_NETLINK ", 9) == 0) 134 else if (strncmp(ptr, "AF_NETLINK ", 11) == 0)
135 netlink = 1; 135 netlink = 1;
136 else if (strncmp(ptr, "AF_PACKET ", 9) == 0) 136 else if (strncmp(ptr, "AF_PACKET ", 10) == 0)
137 packet = 1; 137 packet = 1;
138 } 138 }
139 139