diff options
author | David Goulet <dgoulet@torproject.org> | 2023-01-12 10:52:35 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-01-12 10:52:35 -0500 |
commit | 0df4083299970674b4f399d3d85c6eab22cb8c7d (patch) | |
tree | 08a55c71fc60445018a2ad2e42f3547ac8cd32bf /src | |
parent | f2e9ce72d62c4057b32a524ad032b86dffa9a995 (diff) | |
parent | 7b83e336ec4a1d137d6400f4d501c9a73835e34d (diff) | |
download | tor-0df4083299970674b4f399d3d85c6eab22cb8c7d.tar.gz tor-0df4083299970674b4f399d3d85c6eab22cb8c7d.zip |
Merge branch 'maint-0.4.5' into maint-0.4.7
Diffstat (limited to 'src')
-rw-r--r-- | src/core/proto/proto_socks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/proto/proto_socks.c b/src/core/proto/proto_socks.c index 89745bd82c..07177c418a 100644 --- a/src/core/proto/proto_socks.c +++ b/src/core/proto/proto_socks.c @@ -233,7 +233,7 @@ static socks_result_t process_socks4_request(const socks_request_t *req, int is_socks4a, int log_sockstype, int safe_socks) { - if (is_socks4a && !addressmap_have_mapping(req->address, 0)) { + if (!is_socks4a && !addressmap_have_mapping(req->address, 0)) { log_unsafe_socks_warning(4, req->address, req->port, safe_socks); if (safe_socks) |