修改版本

This commit is contained in:
lubeilin
2023-08-29 21:15:48 +08:00
parent 99b2aa9522
commit 959f2aa783
6 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ fn registration_request_packet(
request.virtual_ip = ip.into();
request.allow_ip_change = allow_ip_change;
request.is_fast = is_fast;
request.version = "1.2.0".to_string();
request.version = crate::VNT_VERSION.to_string();
request.client_secret = client_secret;
let bytes = request.write_to_bytes()?;
let buf = vec![0u8; 12 + bytes.len() + ENCRYPTION_RESERVED];