aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel/socks5.trunnel
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-05-22 12:23:32 +0200
committerNick Mathewson <nickm@torproject.org>2018-07-12 11:41:05 -0400
commit94706a427a6ea84e8124bd3bd997d6805149c39d (patch)
treec39a680b7eae74d56443e8c538453e57b095c261 /src/trunnel/socks5.trunnel
parentbcbd3fb71e1a729f5b499a1452da7d07deeebf39 (diff)
downloadtor-94706a427a6ea84e8124bd3bd997d6805149c39d.tar.gz
tor-94706a427a6ea84e8124bd3bd997d6805149c39d.zip
Add CMD_RESOLVE to socks5_client_request
Diffstat (limited to 'src/trunnel/socks5.trunnel')
-rw-r--r--src/trunnel/socks5.trunnel2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trunnel/socks5.trunnel b/src/trunnel/socks5.trunnel
index b6b8a34f2b..d70ad639e2 100644
--- a/src/trunnel/socks5.trunnel
+++ b/src/trunnel/socks5.trunnel
@@ -30,7 +30,7 @@ struct domainname {
struct socks5_client_request {
u8 version IN [5];
- u8 command IN [CMD_CONNECT, CMD_BIND, CMD_UDP_ASSOCIATE, CMD_RESOLVE_PTR];
+ u8 command IN [CMD_CONNECT, CMD_BIND, CMD_UDP_ASSOCIATE, CMD_RESOLVE, CMD_RESOLVE_PTR];
u8 reserved IN [0];
u8 atype;
union dest_addr[atype] {