Commit e787e521 authored by teor's avatar teor
Browse files

protover: Declare support for Relay=3

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

Part of 33226.
parent 492c512a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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"
        )
    }
}