1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00

fix access log in socks udp

This commit is contained in:
Darien Raymond 2018-05-26 01:55:50 +02:00
parent 7365b0f9d7
commit dd52e82c2d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -201,7 +201,7 @@ func (s *Server) handleUDPPayload(ctx context.Context, conn internet.Connection,
if source, ok := proxy.SourceFromContext(ctx); ok {
log.Record(&log.AccessMessage{
From: source,
To: request.Destination,
To: request.Destination(),
Status: log.AccessAccepted,
Reason: "",
})