From 3c83b514e3e7edca05d3724c9040070a57be99c3 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Tue, 22 Jul 2025 14:32:57 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=B8=AD=E7=BC=BA=E5=A4=B1=E7=9A=84=E9=80=80=E5=87=BA=E6=9C=BA?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stuncheck/stuncheck.go | 1 + 1 file changed, 1 insertion(+) diff --git a/stuncheck/stuncheck.go b/stuncheck/stuncheck.go index 6562649..0d0ee6b 100644 --- a/stuncheck/stuncheck.go +++ b/stuncheck/stuncheck.go @@ -414,6 +414,7 @@ func parse(msg *stun.Message) (ret struct { for _, attr := range msg.Attributes { switch attr.Type { case stun.AttrXORMappedAddress, stun.AttrOtherAddress, stun.AttrResponseOrigin, stun.AttrMappedAddress, stun.AttrSoftware: + break //nolint:staticcheck default: if model.EnableLoger { model.Log.Debugf("\t%v (l=%v)", attr, attr.Length)