From aa9f8a39a3a620f9a4ec0a241308414695735b31 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> 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: } }