tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit e787e521af990a76c6e42cd1a8d3f46f41561f24
parent 492c512af4a4f9ee143b945296fd1c61fc68dba1
Author: teor <teor@riseup.net>
Date:   Mon, 11 May 2020 11:08:20 +1000

protover: Declare support for Relay=3

Declare support for the new Relay=3 IPv6 extend protocol,
in C and Rust.

Part of 33226.

Diffstat:
Msrc/core/or/protover.c | 2+-
Msrc/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 @@ -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 @@ -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" ) } }