summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/sandbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 23d97dffa1..42e40c6a8f 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -606,7 +606,6 @@ sb_socket(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
const int pf = i ? PF_INET : PF_INET6;
for (j=0; j < 3; ++j) {
const int type = (j == 0) ? SOCK_STREAM :
- (j == 1) ? SOCK_DGRAM :
SOCK_DGRAM;
const int protocol = (j == 0) ? IPPROTO_TCP :
(j == 1) ? IPPROTO_IP :