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 | 14aad1a8bbc5d9f7941f4902626a4d861e4b8b7b (patch) | |
tree | f268944d94efc15f0596c8650dbb95cc43066131 /src/core/proto/proto_socks.c | |
parent | e94ba70fcda267c2fe6c71566d4f09889d10f394 (diff) | |
parent | 7b83e336ec4a1d137d6400f4d501c9a73835e34d (diff) | |
download | tor-14aad1a8bbc5d9f7941f4902626a4d861e4b8b7b.tar.gz tor-14aad1a8bbc5d9f7941f4902626a4d861e4b8b7b.zip |
Merge branch 'maint-0.4.5' into release-0.4.5
Diffstat (limited to 'src/core/proto/proto_socks.c')
-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) |