fix access log in socks udp

pull/1132/head
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
1 changed files with 1 additions and 1 deletions

View File

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