summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2017-11-03 23:00:27 +0100
committerSebastian Hahn <sebastian@torproject.org>2017-11-04 18:30:59 +0100
commit5a46074e550229e6c19eac9625b26af346b487fc (patch)
treec6d062a54ed45e0fb2f35c128d328a5e4555350a /src/or/connection_edge.c
parent0386280487fce78b73e060234f515b850af9c589 (diff)
downloadtor-5a46074e550229e6c19eac9625b26af346b487fc.tar.gz
tor-5a46074e550229e6c19eac9625b26af346b487fc.zip
Revert "Make ClientDNSRejectInternalAddresses testing-only."
This reverts commit 27fa4a98d23972213122fa99499efa4baebe49e3.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index b9d8eeaff6..f178917f0b 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1344,7 +1344,7 @@ connection_ap_handshake_rewrite(entry_connection_t *conn,
/* Hang on, did we find an answer saying that this is a reverse lookup for
* an internal address? If so, we should reject it if we're configured to
* do so. */
- if (options->TestingClientDNSRejectInternalAddresses) {
+ if (options->ClientDNSRejectInternalAddresses) {
/* Don't let clients try to do a reverse lookup on 10.0.0.1. */
tor_addr_t addr;
int ok;