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