mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +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));
|
||||
cell.command = CELL_NETINFO;
|
||||
|
||||
/* Timestamp, if we're a relay. */
|
||||
if (! conn->handshake_state->started_here)
|
||||
set_uint32(cell.payload, htonl((uint32_t)now));
|
||||
/* Timestamp. */
|
||||
set_uint32(cell.payload, htonl((uint32_t)now));
|
||||
|
||||
/* Their address. */
|
||||
out = cell.payload + 4;
|
||||
|
Loading…
Reference in New Issue
Block a user