Skip to content

Commit

Permalink
Change log wording
Browse files Browse the repository at this point in the history
  • Loading branch information
akiroz committed Jan 18, 2024
1 parent c5fc6f3 commit 528906c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Framed<AsyncDevice, TunPacketCodec>, TunPacket>;

Expand Down
2 changes: 1 addition & 1 deletion src/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 528906c

Please sign in to comment.