refactor: Some adjustments

This commit is contained in:
Skyxim
2022-04-03 19:15:16 +08:00
parent 9461bcd44e
commit b553dd749b
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ type GVHandler struct {
func (gh *GVHandler) HandleTCP(tunConn adapter.TCPConn) {
id := tunConn.ID()
rAddr := &net.UDPAddr{
rAddr := &net.TCPAddr{
IP: net.IP(id.LocalAddress),
Port: int(id.LocalPort),
Zone: "",