mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
style: smell fix
This commit is contained in:
parent
2fba4c75bd
commit
b232f11331
@ -337,11 +337,11 @@ func (s *Server) handleUDPAssociate(client net.Conn) {
|
|||||||
|
|
||||||
case socksATYPv6:
|
case socksATYPv6:
|
||||||
logrus.Errorf("[%s][UDP] IPv6: not supported yet", client.RemoteAddr().String())
|
logrus.Errorf("[%s][UDP] IPv6: not supported yet", client.RemoteAddr().String())
|
||||||
break
|
return
|
||||||
|
|
||||||
default:
|
default:
|
||||||
logrus.Errorf("[%s][UDP] invalid atyp", client.RemoteAddr().String())
|
logrus.Errorf("[%s][UDP] invalid atyp", client.RemoteAddr().String())
|
||||||
break
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
remoteAddr := &net.UDPAddr{IP: targetIP, Port: int(targetPort)}
|
remoteAddr := &net.UDPAddr{IP: targetIP, Port: int(targetPort)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user