From 106bced01b8b192311d1114e28804edd6ef32cca Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Wed, 28 Jan 2026 20:50:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- probe_nat.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/probe_nat.go b/probe_nat.go index a36b841..44bff46 100644 --- a/probe_nat.go +++ b/probe_nat.go @@ -311,6 +311,8 @@ func DetectNAT(conn net.PacketConn, primarySTUN, secondarySTUN, network string, res.Type = NATRestricted case FilteringAddressPortDependent: res.Type = NATPortRestricted + default: + res.Type = NATUnknown } } else { res.Type = NATSymmetric