mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
whitespace fixes
This commit is contained in:
parent
8a49fac9e0
commit
9be105f94b
@ -411,7 +411,6 @@ sb_socket(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
|
|||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
|
|
||||||
rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(socket), 3,
|
rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(socket), 3,
|
||||||
SCMP_CMP(0, SCMP_CMP_EQ, PF_INET),
|
SCMP_CMP(0, SCMP_CMP_EQ, PF_INET),
|
||||||
SCMP_CMP(1, SCMP_CMP_EQ, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK),
|
SCMP_CMP(1, SCMP_CMP_EQ, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK),
|
||||||
|
@ -2089,7 +2089,6 @@ connection_ap_handshake_socks_resolved_addr(entry_connection_t *conn,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Send an answer to an AP connection that has requested a DNS lookup via
|
/** Send an answer to an AP connection that has requested a DNS lookup via
|
||||||
* SOCKS. The type should be one of RESOLVED_TYPE_(IPV4|IPV6|HOSTNAME) or -1
|
* SOCKS. The type should be one of RESOLVED_TYPE_(IPV4|IPV6|HOSTNAME) or -1
|
||||||
* for unreachable; the answer should be in the format specified in the socks
|
* for unreachable; the answer should be in the format specified in the socks
|
||||||
|
Loading…
Reference in New Issue
Block a user