Remove colon from 'from:' in log messages

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-12 00:06:08 +00:00
parent b6f741306e
commit 8a59648310
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ func (t *Handler) HandleConnection(conn net.Conn, destination net.Destination) {
Status: log.AccessAccepted,
Reason: "",
})
errors.LogInfo(ctx, "processing connection from: ", conn.RemoteAddr(), " to ", destination)
errors.LogInfo(ctx, "processing connection from ", conn.RemoteAddr(), " to ", destination)
link := &transport.Link{
Reader: &buf.TimeoutWrapperReader{Reader: buf.NewReader(conn)},

View File

@@ -117,7 +117,7 @@ func (u *udpConnectionHandler) HandlePacket(src net.Destination, dst net.Destina
Status: log.AccessAccepted,
Reason: "",
})
errors.LogInfo(ctx, "processing connection from: ", src, " to ", dst)
errors.LogInfo(ctx, "processing connection from ", src, " to ", dst)
link := &transport.Link{
Reader: &buf.TimeoutWrapperReader{Reader: conn.reader},
// reverse source and destination, indicating the packets to write are going in the other