summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-29 14:59:01 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-29 14:59:01 -0400
commit2c1afc2defe4a86ebfe2ae205f201f6e85bf9dc7 (patch)
treeacd2c44433acbc48cab5ca25cc0a0315116fddbc /src
parent5e8cf876e7fb6a742a8d188c4d29baaeab2f63fe (diff)
parent4f473fadbd15ededac11feb76c064e49687c3d2b (diff)
downloadtor-2c1afc2defe4a86ebfe2ae205f201f6e85bf9dc7.tar.gz
tor-2c1afc2defe4a86ebfe2ae205f201f6e85bf9dc7.zip
Merge branch 'maint-0.3.3'
Diffstat (limited to 'src')
-rw-r--r--src/or/dnsserv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 9385561d99..7e344deeab 100644
--- a/src/or/dnsserv.c
+++ b/src/or/dnsserv.c
@@ -208,6 +208,7 @@ dnsserv_launch_request(const char *name, int reverse,
/* Make a new dummy AP connection, and attach the request to it. */
entry_conn = entry_connection_new(CONN_TYPE_AP, AF_INET);
+ entry_conn->entry_cfg.dns_request = 1;
conn = ENTRY_TO_EDGE_CONN(entry_conn);
CONNECTION_AP_EXPECT_NONPENDING(entry_conn);
conn->base_.state = AP_CONN_STATE_RESOLVE_WAIT;