This commit is contained in:
null 2026-06-25 20:01:39 +08:00
parent 9f82e5ac13
commit 86e720a8a7

View file

@ -351,11 +351,11 @@ func (s *Server) HandleConnection(conn net.Conn, dest net.Destination) {
user := s.GetUserByAddr(context.TODO(), addr)
if user == nil {
errors.LogError(context.Background(), "nil user for ", remote)
errors.LogError(context.Background(), "nil user form ", remote, " to ", dest)
return
}
source := net.DestinationFromAddr(conn.RemoteAddr())
source := net.DestinationFromAddr(remote)
inbound := session.Inbound{
Name: "wireguard",
Tag: s.tag,