From 2d28cdebb3a5266d35baf6729b76712b4914f6aa Mon Sep 17 00:00:00 2001 From: Martin Hoffmann Date: Mon, 20 Jan 2025 16:40:57 +0100 Subject: [PATCH] Set RTR server max version to 2. (#318) This PR sets the maximum supported RTR version in the RTR server to 2. Thanks to @devsnek for pointing out that we forget to do that. --- src/rtr/server.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/rtr/server.rs b/src/rtr/server.rs index 81dac06..f17b0e8 100644 --- a/src/rtr/server.rs +++ b/src/rtr/server.rs @@ -22,11 +22,7 @@ use super::state::State; /// The maximum protocol version we support. /// /// We support all protocol versions from 0 up to and including this value. -/// -/// While the server technically supports version 2 as well, the format of the -/// ASPA PDU has not yet been agreed upon. Rather than possibly deploying -/// broken servers, we only announce support for version 0 or 1 for now. -const MAX_VERSION: u8 = 1; +const MAX_VERSION: u8 = 2; //============ Traits ========================================================