mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-06-21 04:23:10 +00:00
Update server.go
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user