mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'origin/maint-0.2.2'
This commit is contained in:
commit
3ef40f6993
4
changes/bug4349
Normal file
4
changes/bug4349
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- When sending a NETINFO cell, include the original address
|
||||||
|
received for the other side, not its canonical address. Found
|
||||||
|
by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
|
@ -1923,7 +1923,7 @@ connection_or_send_netinfo(or_connection_t *conn)
|
|||||||
|
|
||||||
/* Their address. */
|
/* Their address. */
|
||||||
out = cell.payload + 4;
|
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)
|
if (len<0)
|
||||||
return -1;
|
return -1;
|
||||||
out += len;
|
out += len;
|
||||||
|
Loading…
Reference in New Issue
Block a user