Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let RTR server not support v2 just yet. #281

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/rtr/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
ximon18 marked this conversation as resolved.
Show resolved Hide resolved

//============ Traits ========================================================

Expand Down
Loading