fix access log in socks udp

pull/1132/head
Darien Raymond 7 years ago
parent 7365b0f9d7
commit dd52e82c2d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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: "",
})

Loading…
Cancel
Save