From 51733d88e82392024855f02e266aa9c9da7dcdd1 Mon Sep 17 00:00:00 2001 From: wuko233 Date: Fri, 13 Mar 2026 09:41:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8B=BC=E5=86=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/sysmonitord/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/sysmonitord/main.go b/cmd/sysmonitord/main.go index 95d4f0d..5933e05 100644 --- a/cmd/sysmonitord/main.go +++ b/cmd/sysmonitord/main.go @@ -102,7 +102,7 @@ func main() { go func() { for alert := range sshAlertChan { - packet := network.NewPactet("SSH_ALERT", alert) + packet := network.NewPacket("SSH_ALERT", alert) auditClient.SendQueue(packet) } }() @@ -119,7 +119,7 @@ func main() { go func() { for metrics := range metricsChan { - packet := network.NewPactet("STATUS_UPDATE", metrics) + packet := network.NewPacket("STATUS_UPDATE", metrics) centerClient.SendQueue(packet) } }()