|
@@ -774,9 +774,11 @@ int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *key
|
|
|
connection_or_write_cell_to_buf(&cell, circ->p_conn);
|
|
|
log_fn(LOG_DEBUG,"Finished sending 'created' cell.");
|
|
|
|
|
|
- if (!is_local_IP(circ->p_conn->addr)) {
|
|
|
-
|
|
|
- that create cells can reach us too. */
|
|
|
+ if (!is_local_IP(circ->p_conn->addr) &&
|
|
|
+ tor_tls_is_server(circ->p_conn->tls)) {
|
|
|
+
|
|
|
+ * that we didn't initiate; presumably this means that create cells
|
|
|
+ * can reach us too. */
|
|
|
router_orport_found_reachable();
|
|
|
}
|
|
|
|