From ab8aa6be9f30d086008831e85ae0078d5214a611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=8C=E5=AE=B6=E8=B1=AA?= Date: Thu, 30 May 2024 11:42:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20nat=E6=8C=87=E5=AE=9A=E7=9B=AE=E6=A0=87s?= =?UTF-8?q?tun=E6=9C=8D=E5=8A=A1=E5=90=8E=EF=BC=8C=E4=BF=9D=E8=AF=81?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=9C=B0=E5=9D=80=E8=AF=BB=E5=8F=96=E6=88=90?= =?UTF-8?q?=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/npc/npc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/npc/npc.go b/cmd/npc/npc.go index 05a4e92..9b6dba4 100644 --- a/cmd/npc/npc.go +++ b/cmd/npc/npc.go @@ -115,6 +115,7 @@ func main() { return case "nat": c := stun.NewClient() + flag.CommandLine.Parse(os.Args[2:]) c.SetServerAddr(*stunAddr) nat, host, err := c.Discover() if err != nil || host == nil {