From e787e521af990a76c6e42cd1a8d3f46f41561f24 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 11 May 2020 11:08:20 +1000 Subject: [PATCH] protover: Declare support for Relay=3 Declare support for the new Relay=3 IPv6 extend protocol, in C and Rust. Part of 33226. --- src/core/or/protover.c | 2 +- src/rust/protover/protover.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/or/protover.c b/src/core/or/protover.c index c3f443631b..43fb67772f 100644 --- a/src/core/or/protover.c +++ b/src/core/or/protover.c @@ -403,7 +403,7 @@ protover_get_supported_protocols(void) #endif "Microdesc=1-2 " "Padding=2 " - "Relay=1-2"; + "Relay=1-3"; } /** The protocols from protover_get_supported_protocols(), as parsed into a diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs index 6d2ef33eec..3a7379d890 100644 --- a/src/rust/protover/protover.rs +++ b/src/rust/protover/protover.rs @@ -169,7 +169,7 @@ pub(crate) fn get_supported_protocols_cstr() -> &'static CStr { LinkAuth=3 \ Microdesc=1-2 \ Padding=2 \ - Relay=1-2" + Relay=1-3" ) } else { cstr!( @@ -184,7 +184,7 @@ pub(crate) fn get_supported_protocols_cstr() -> &'static CStr { LinkAuth=1,3 \ Microdesc=1-2 \ Padding=2 \ - Relay=1-2" + Relay=1-3" ) } }