protover: Declare support for Relay=3

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

Part of 33226.
This commit is contained in:
teor 2020-05-11 11:08:20 +10:00
parent 492c512af4
commit e787e521af
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"
)
}
}