|
@@ -608,7 +608,6 @@ sb_socket(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
|
|
const int pf = i ? PF_INET : PF_INET6;
|
|
const int pf = i ? PF_INET : PF_INET6;
|
|
for (j=0; j < 3; ++j) {
|
|
for (j=0; j < 3; ++j) {
|
|
const int type = (j == 0) ? SOCK_STREAM :
|
|
const int type = (j == 0) ? SOCK_STREAM :
|
|
- (j == 1) ? SOCK_DGRAM :
|
|
|
|
SOCK_DGRAM;
|
|
SOCK_DGRAM;
|
|
const int protocol = (j == 0) ? IPPROTO_TCP :
|
|
const int protocol = (j == 0) ? IPPROTO_TCP :
|
|
(j == 1) ? IPPROTO_IP :
|
|
(j == 1) ? IPPROTO_IP :
|