Merge remote-tracking branch 'origin/main'

# Conflicts:
#	vnt/src/ip_proxy/tcp_proxy.rs
This commit is contained in:
lubeilin
2023-09-20 15:39:54 +08:00
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "common"
version = "1.2.3"
version = "1.2.4"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "vnt-cli"
version = "1.2.3"
version = "1.2.4"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "vnt-jni"
version = "1.2.3"
version = "1.2.4"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "vnt"
version = "1.2.3"
version = "1.2.4"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+2
View File
@@ -526,6 +526,8 @@ impl Context {
pub fn update_read_time(&self, id: &Ipv4Addr, route_key: &RouteKey) {
if let Some(mut time) = self.inner.route_table_time.get_mut(&(*route_key, *id)) {
*time.value_mut() = Instant::now();
}else{
self.inner.route_table_time.insert((*route_key,*id),Instant::now());
}
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
use crate::error::Error;
pub const VNT_VERSION: &'static str = "1.2.3";
pub const VNT_VERSION: &'static str = "1.2.4";
pub type Result<T> = std::result::Result<T, Error>;
pub mod channel;