Skip to content

Commit

Permalink
Set RTR server max version to 2. (#318)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
partim authored Jan 20, 2025
1 parent 325687d commit 2d28cde
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/rtr/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ========================================================

Expand Down

0 comments on commit 2d28cde

Please sign in to comment.