]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Relays: Advertise support for cgo.
authorNick Mathewson <nickm@torproject.org>
Mon, 2 Jun 2025 20:44:27 +0000 (16:44 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 10 Jun 2025 23:06:47 +0000 (19:06 -0400)
src/core/or/protover.c

index 0fefd4dc857fb5d59bf1aa73d832f6bef5463e16..f609a5f632f403e7cfd22bccfacdf8d346393d13 100644 (file)
@@ -399,7 +399,8 @@ protocol_list_supports_protocol_or_later(const char *list,
 #define PR_LINKAUTH_V  "3"
 #define PR_MICRODESC_V "1-3"
 #define PR_PADDING_V   "2"
-#define PR_RELAY_V     "2-4"
+// XXXX CGO: Make 6 conditional?
+#define PR_RELAY_V     "2-6"
 
 /** Return the string containing the supported version for the given protocol
  * type. */