]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Some days I just can't C.
authorNick Mathewson <nickm@torproject.org>
Mon, 19 Jan 2015 16:58:40 +0000 (11:58 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 19 Jan 2015 16:58:40 +0000 (11:58 -0500)
src/or/connection_edge.c

index 9031edb8a6f37f3d5845329e815515506c3eca69..d1ad56d553f0e9acc23ebabfc5c3a742327eb2dc 100644 (file)
@@ -1064,7 +1064,7 @@ connection_ap_handshake_rewrite(entry_connection_t *conn,
    * previously registered Automap entries, TrackHostExits entries,
    * and client-side DNS cache entries (not recommended).
    */
-  if (!socks->command != SOCKS_COMMAND_RESOLVE_PTR &&
+  if (socks->command != SOCKS_COMMAND_RESOLVE_PTR &&
       !out->automap) {
     unsigned rewrite_flags = AMR_FLAG_USE_AUTOMAP | AMR_FLAG_USE_TRACKEXIT;
     addressmap_entry_source_t exit_source2;