Update server.go

This commit is contained in:
RPRX
2026-06-17 14:16:04 +00:00
committed by GitHub
parent 8916151f8b
commit bb977280e7
+2 -2
View File
@@ -234,8 +234,8 @@ func (s *Server) handleUDPPayload(ctx context.Context, conn stat.Connection, dis
newInbound.Source = net.DestinationFromAddr(conn.RemoteAddr())
newInbound.Local = net.DestinationFromAddr(conn.LocalAddr())
inbound = &newInbound
ctx = session.ContextWithInbound(ctx, &newInbound)
errors.LogInfo(ctx, "client UDP connection from ", newInbound.Source)
ctx = session.ContextWithInbound(ctx, inbound)
errors.LogInfo(ctx, "client UDP connection from ", inbound.Source)
}
})