From 8dd626746b6f921b652d82dc14191a7d7c8a5322 Mon Sep 17 00:00:00 2001 From: akiroz Date: Thu, 18 Jan 2024 17:19:59 +0800 Subject: [PATCH] Change log wording --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/client.rs | 2 +- src/remote.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index baacbf0..70387f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1255,7 +1255,7 @@ checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" [[package]] name = "zika" -version = "3.2.1" +version = "3.2.2" dependencies = [ "base64", "bytes", diff --git a/Cargo.toml b/Cargo.toml index a6156f9..b60902d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zika" -version = "3.2.1" +version = "3.2.2" license = "MIT" description = "IP Tunneling over MQTT" repository = "https://github.com/akiroz/zika" diff --git a/src/client.rs b/src/client.rs index 382f003..a82528a 100644 --- a/src/client.rs +++ b/src/client.rs @@ -15,8 +15,8 @@ use tokio_util::codec::Framed; use tun::{AsyncDevice, TunPacket, TunPacketCodec}; use crate::config; -use crate::ip_iter::SizedIpv4NetworkIterator; use crate::remote; +use crate::ip_iter::SizedIpv4NetworkIterator; type TunSink = SplitSink, TunPacket>; diff --git a/src/remote.rs b/src/remote.rs index 4a7b683..a1c1c20 100644 --- a/src/remote.rs +++ b/src/remote.rs @@ -86,7 +86,7 @@ impl Remote { match pkt { Packet::ConnAck(ConnAck { code: Success, session_present, .. }) => { if !session_present { - log::info!("broker[{}] !session_present", context.nth); + log::info!("broker[{}] new session", context.nth); let subs_v = context.subs.lock().await; let subs = subs_v.iter().map(|path| Filter { path: path.clone(),