mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Use real_addr in send_netinfo
Reported by "troll_un"; bugfix on 0.2.0.10-alpha; fixes bug 4349.
This commit is contained in:
@@ -1410,7 +1410,7 @@ connection_or_send_netinfo(or_connection_t *conn)
|
||||
|
||||
/* Their address. */
|
||||
out = cell.payload + 4;
|
||||
len = append_address_to_payload(out, &conn->_base.addr);
|
||||
len = append_address_to_payload(out, &conn->real_addr);
|
||||
if (len<0)
|
||||
return -1;
|
||||
out += len;
|
||||
|
||||
Reference in New Issue
Block a user