Fix: socks inbound packet typo

This commit is contained in:
Dreamacro 2021-07-21 23:08:52 +08:00
parent 8d37220566
commit aa9f8a39a3

View File

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