From 1ca44e300e0bc992870d5d7cb813e5b7cc22faed Mon Sep 17 00:00:00 2001 From: soruh Date: Tue, 20 Jun 2023 18:35:57 +0200 Subject: [PATCH] fix typo --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index 3da783b..387f103 100644 --- a/src/client.rs +++ b/src/client.rs @@ -329,7 +329,7 @@ pub async fn handler( }; res?; - if packet.kind() != PacketKind::RemConfirm { + if packet.kind() != PacketKind::RemConnect { let kind = packet.kind(); warn!(%addr, ?kind, "client sent unexpected packet instead of RemConnect"); return Ok(());