aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/rbw-agent
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-05-21 23:42:27 -0400
committerJesse Luehrs <doy@tozt.net>2020-05-21 23:42:27 -0400
commit318413b119c5f0e988079bb7bede1a4a86583a7a (patch)
treeeb68345d61f86321986188fbd2382fff6cb7e166 /src/bin/rbw-agent
parent41123157c6d356006af12425863f003a4dc87f3d (diff)
downloadrbw-318413b119c5f0e988079bb7bede1a4a86583a7a.tar.gz
rbw-318413b119c5f0e988079bb7bede1a4a86583a7a.zip
use the crate version for the protocol version
Diffstat (limited to 'src/bin/rbw-agent')
-rw-r--r--src/bin/rbw-agent/actions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/rbw-agent/actions.rs b/src/bin/rbw-agent/actions.rs
index e1124e0..d2b38dc 100644
--- a/src/bin/rbw-agent/actions.rs
+++ b/src/bin/rbw-agent/actions.rs
@@ -299,7 +299,7 @@ pub async fn encrypt(
pub async fn version(sock: &mut crate::sock::Sock) -> anyhow::Result<()> {
sock.send(&rbw::protocol::Response::Version {
- version: rbw::protocol::VERSION,
+ version: rbw::protocol::version(),
})
.await
.context("failed to send response")?;