diff options
author | David Goulet <dgoulet@torproject.org> | 2023-01-12 10:52:31 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-01-12 10:52:31 -0500 |
commit | 7b83e336ec4a1d137d6400f4d501c9a73835e34d (patch) | |
tree | 62d817ff1a617cb8154c5ddfaf600f6660687b11 /src | |
parent | 85547a9b5be5894672411b1ca3f5ad5619aa9478 (diff) | |
parent | a282145b3634547ab84ccd959d0537c021ff7ffc (diff) | |
download | tor-7b83e336ec4a1d137d6400f4d501c9a73835e34d.tar.gz tor-7b83e336ec4a1d137d6400f4d501c9a73835e34d.zip |
Merge branch 'ticket40730_045_01' into maint-0.4.5
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 a7ee190b3f..97863d389e 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) |