aboutsummaryrefslogtreecommitdiff
path: root/src/core/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-16 14:41:35 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-17 11:42:49 -0400
commitadec4715953630312c565cfce7a15f4593fc4b27 (patch)
treed7855d853d62d4348f907e33eaea4423c42fcb62 /src/core/or
parent7b3bd45cfe400deb2420afa0018c642402cc4f94 (diff)
downloadtor-adec4715953630312c565cfce7a15f4593fc4b27.tar.gz
tor-adec4715953630312c565cfce7a15f4593fc4b27.zip
Clean up documentation for connection_t.addr a bit more.
Diffstat (limited to 'src/core/or')
-rw-r--r--src/core/or/connection_st.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/or/connection_st.h b/src/core/or/connection_st.h
index 508328f75c..9968741ef5 100644
--- a/src/core/or/connection_st.h
+++ b/src/core/or/connection_st.h
@@ -137,15 +137,11 @@ struct connection_t {
* any more!
*
* The misuses of this field include:
- * * Setting it to the canonical address of a relay on an OR connection.
* * Setting it on linked connections, possibly.
* * Updating it based on the Forwarded-For header-- Forwarded-For is
- * set by a proxy, but not a local trusted troxy.
+ * set by a proxy, but not a local trusted proxy.
**/
- tor_addr_t addr; /**< IP that socket "s" is directly connected to;
- * may be the IP address for a proxy or pluggable transport,
- * see "address" for the address of the final destination.
- */
+ tor_addr_t addr;
uint16_t port; /**< If non-zero, port that socket "s" is directly connected
* to; may be the port for a proxy or pluggable transport,
* see "address" for the port at the final destination. */