From cdae369a03fb252158fdd6391d576aff8a5a06bc Mon Sep 17 00:00:00 2001 From: Martin Hoffmann Date: Tue, 16 Jan 2024 13:59:10 +0100 Subject: [PATCH] RTR server does not support v2 just yet. --- src/rtr/server.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rtr/server.rs b/src/rtr/server.rs index 757abd1..79a611b 100644 --- a/src/rtr/server.rs +++ b/src/rtr/server.rs @@ -25,7 +25,11 @@ use super::state::State; /// The maximum protocol version we support. /// /// We support all protocol versions from 0 up to and including this value. -const MAX_VERSION: u8 = 2; +/// +/// 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; //============ Traits ========================================================