summaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-26 14:17:21 -0400
committerNick Mathewson <nickm@torproject.org>2016-10-26 14:17:21 -0400
commit5a1779b7ffa7445005dc271985bae43c6c761dc0 (patch)
tree61f1f4c86882cad3d228fedfcac4caced2242a1e /src/or/dnsserv.c
parent8a38d053a09615c8d9009571ba639bfcbd1d4fe2 (diff)
parentd28870402376c52b32feaebfcbe190873218fb89 (diff)
downloadtor-5a1779b7ffa7445005dc271985bae43c6c761dc0.tar.gz
tor-5a1779b7ffa7445005dc271985bae43c6c761dc0.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r--src/or/dnsserv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 8dce832d47..c5c0a88b09 100644
--- a/src/or/dnsserv.c
+++ b/src/or/dnsserv.c
@@ -302,6 +302,10 @@ evdns_get_orig_address(const struct evdns_server_request *req,
case RESOLVED_TYPE_IPV6:
type = EVDNS_TYPE_AAAA;
break;
+ case RESOLVED_TYPE_ERROR:
+ case RESOLVED_TYPE_ERROR_TRANSIENT:
+ /* Addr doesn't matter, since we're not sending it back in the reply.*/
+ return addr;
default:
tor_fragile_assert();
return addr;