summaryrefslogtreecommitdiff
path: root/src/feature/relay/relay_metrics.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-09-14 15:01:45 -0400
committerMike Perry <mikeperry-git@torproject.org>2022-02-22 19:28:33 +0000
commitbd2e9a44097ff85934bc1c34f4fce2017a7a92c8 (patch)
tree90f31985afb3132ff57645be058e5774830941db /src/feature/relay/relay_metrics.c
parent244444e8b1ac36bf9148aa656e4eb9e293daa5b4 (diff)
downloadtor-bd2e9a44097ff85934bc1c34f4fce2017a7a92c8.tar.gz
tor-bd2e9a44097ff85934bc1c34f4fce2017a7a92c8.zip
Implement core of ntor3 negotiation.
There are a lot of TODOs about what to send, whom to send it to, and etc.
Diffstat (limited to 'src/feature/relay/relay_metrics.c')
-rw-r--r--src/feature/relay/relay_metrics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c
index fc8eb10d1b..908cfdb0d9 100644
--- a/src/feature/relay/relay_metrics.c
+++ b/src/feature/relay/relay_metrics.c
@@ -104,6 +104,8 @@ handshake_type_to_str(const uint16_t type)
return "fast";
case ONION_HANDSHAKE_TYPE_NTOR:
return "ntor";
+ case ONION_HANDSHAKE_TYPE_NTOR_V3:
+ return "ntor_v3";
default:
// LCOV_EXCL_START
tor_assert_unreached();