summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2017-06-03 18:04:47 +0200
committerrl1987 <rl1987@sdf.lonestar.org>2017-06-03 18:04:47 +0200
commit9e2f78092395d1250f08a21815ab1145409530eb (patch)
treeed0da84e9f9d49b96785a6a05bf96dd74ca72836 /src/or/buffers.c
parent1763aa058b08a1c594b378ba2314fc5c6eaadb34 (diff)
downloadtor-9e2f78092395d1250f08a21815ab1145409530eb.tar.gz
tor-9e2f78092395d1250f08a21815ab1145409530eb.zip
Refrain from needless SOCKS5 warning
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 3692ed4d08..1df4be197a 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1686,8 +1686,6 @@ parse_socks(const char *data, size_t datalen, socks_request_t *req,
if (string_is_valid_ipv4_address(req->address) ||
string_is_valid_ipv6_address(req->address)) {
- log_unsafe_socks_warning(5,req->address,req->port,safe_socks);
-
if (safe_socks) {
socks_request_set_socks5_error(req, SOCKS5_NOT_ALLOWED);
return -1;