style: smell fix

This commit is contained in:
SunBK201 2025-10-27 20:03:25 +08:00
parent 2fba4c75bd
commit b232f11331

View File

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