Skip to content
Snippets Groups Projects
Commit 5bea660f authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Use real_addr in send_netinfo

Reported by "troll_un"; bugfix on 0.2.0.10-alpha; fixes bug 4349.
parent 2b7bdc29
No related branches found
No related tags found
No related merge requests found
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.
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment