summaryrefslogtreecommitdiff
path: root/src/trunnel/socks5.h
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-05-15 11:49:07 +0200
committerNick Mathewson <nickm@torproject.org>2018-07-12 11:40:49 -0400
commitb160929c2274a6a0b6b53a25f3a384369da60865 (patch)
tree6535420c512f72b9a27c657b027639ccd4e2a9bf /src/trunnel/socks5.h
parent9155e08450fe7a609f8223202e8aa7dfbca20a6d (diff)
downloadtor-b160929c2274a6a0b6b53a25f3a384369da60865.tar.gz
tor-b160929c2274a6a0b6b53a25f3a384369da60865.zip
Add RESOLVE (0xF0) command to socks4_client_request
Diffstat (limited to 'src/trunnel/socks5.h')
-rw-r--r--src/trunnel/socks5.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trunnel/socks5.h b/src/trunnel/socks5.h
index fb3c03160a..8bc5af109f 100644
--- a/src/trunnel/socks5.h
+++ b/src/trunnel/socks5.h
@@ -11,6 +11,7 @@
#define CMD_CONNECT 1
#define CMD_BIND 2
#define CMD_UDP_ASSOCIATE 3
+#define CMD_RESOLVE 240
#define CMD_RESOLVE_PTR 241
#define ATYPE_IPV4 1
#define ATYPE_IPV6 4