Skip to content

Commit

Permalink
Use RTR MAX_VERSION in error string.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Jan 16, 2024
1 parent ea535b9 commit 19ddb3a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/rtr/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,11 @@ where Sock: AsyncRead + Unpin {
MAX_VERSION, // respond with what they should try
4,
header,
"only versions 0 to 2 supported"
concat!(
"only versions 0 to ",
stringify!(MAX_VERSION),
" supported"
)
)
))
}
Expand Down

0 comments on commit 19ddb3a

Please sign in to comment.