diff options
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r-- | src/or/channeltls.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c index 0376e74bcf..ecf02182fc 100644 --- a/src/or/channeltls.c +++ b/src/or/channeltls.c @@ -26,6 +26,7 @@ #include "control.h" #include "link_handshake.h" #include "relay.h" +#include "rephist.h" #include "router.h" #include "routerlist.h" #include "scheduler.h" @@ -1457,6 +1458,8 @@ channel_tls_process_versions_cell(var_cell_t *cell, channel_tls_t *chan) return; } + rep_hist_note_negotiated_link_proto(highest_supported_version, started_here); + chan->conn->link_proto = highest_supported_version; chan->conn->handshake_state->received_versions = 1; |