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