From b29ea418cb28780c9e707e8429f744278cc6d9e7 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Wed, 21 Jul 2021 23:08:52 +0800 Subject: [PATCH] Fix: socks inbound packet typo --- listener/socks/udp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listener/socks/udp.go b/listener/socks/udp.go index 5de0a0bf..ca75b2c8 100644 --- a/listener/socks/udp.go +++ b/listener/socks/udp.go @@ -70,7 +70,7 @@ func handleSocksUDP(pc net.PacketConn, in chan<- *inbound.PacketAdapter, buf []b bufRef: buf, } select { - case in <- inbound.NewPacket(target, packet, C.TPROXY): + case in <- inbound.NewPacket(target, packet, C.SOCKS): default: } }