mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Merge branch 'maint-0.2.4'
This commit is contained in:
commit
99703c9b31
@ -2121,9 +2121,8 @@ connection_or_send_netinfo(or_connection_t *conn)
|
|||||||
memset(&cell, 0, sizeof(cell_t));
|
memset(&cell, 0, sizeof(cell_t));
|
||||||
cell.command = CELL_NETINFO;
|
cell.command = CELL_NETINFO;
|
||||||
|
|
||||||
/* Timestamp, if we're a relay. */
|
/* Timestamp. */
|
||||||
if (! conn->handshake_state->started_here)
|
set_uint32(cell.payload, htonl((uint32_t)now));
|
||||||
set_uint32(cell.payload, htonl((uint32_t)now));
|
|
||||||
|
|
||||||
/* Their address. */
|
/* Their address. */
|
||||||
out = cell.payload + 4;
|
out = cell.payload + 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user