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: } }