fixed-controller.patch 754 B

1234567891011121314
  1. diff --git a/src/core/or/connection_edge.c b/src/core/or/connection_edge.c
  2. index 5f1664d286..374cb04f60 100644
  3. --- a/src/core/or/connection_edge.c
  4. +++ b/src/core/or/connection_edge.c
  5. @@ -3093,7 +3093,8 @@ connection_ap_handshake_send_begin,(entry_connection_t *ap_conn))
  6. edge_conn->begincell_flags = connection_ap_get_begincell_flags(ap_conn);
  7. tor_snprintf(payload,RELAY_PAYLOAD_SIZE, "%s:%d",
  8. - (circ->base_.purpose == CIRCUIT_PURPOSE_C_GENERAL) ?
  9. + (circ->base_.purpose == CIRCUIT_PURPOSE_C_GENERAL ||
  10. + circ->base_.purpose == CIRCUIT_PURPOSE_CONTROLLER) ?
  11. ap_conn->socks_request->address : "",
  12. ap_conn->socks_request->port);
  13. payload_len = (int)strlen(payload)+1;