[tor-commits] [tor/master] protover: Declare support for Relay=3
nickm at torproject.org
nickm at torproject.org
Tue Jun 9 19:45:23 UTC 2020
commit e787e521af990a76c6e42cd1a8d3f46f41561f24
Author: teor <teor at riseup.net>
Date: Mon May 11 11:08:20 2020 +1000
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 c3f443631..43fb67772 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 6d2ef33ee..3a7379d89 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"
)
}
}
More information about the tor-commits
mailing list