summaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-29 14:58:58 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-29 14:58:58 -0400
commit4f473fadbd15ededac11feb76c064e49687c3d2b (patch)
tree65e8d8f175c86a765554cb253ef9b210e498492d /src/or/dnsserv.c
parent2e9e91ebbfa871df92110a0355b2d6fa1267c499 (diff)
parente35eb9baaace383a88a6fa4fbd5114153ff8d6f1 (diff)
downloadtor-4f473fadbd15ededac11feb76c064e49687c3d2b.tar.gz
tor-4f473fadbd15ededac11feb76c064e49687c3d2b.zip
Merge branch 'bug25617_029' into maint-0.3.3
Diffstat (limited to 'src/or/dnsserv.c')
-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;