From 8a59648310e9081190d8a4bb088eace4bc2b8771 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 12 Jan 2026 00:06:08 +0000 Subject: [PATCH] Remove colon from 'from:' in log messages Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com> --- proxy/tun/handler.go | 2 +- proxy/tun/udp_fullcone.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/tun/handler.go b/proxy/tun/handler.go index e752c429..2b60ee1f 100644 --- a/proxy/tun/handler.go +++ b/proxy/tun/handler.go @@ -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)}, diff --git a/proxy/tun/udp_fullcone.go b/proxy/tun/udp_fullcone.go index 86ad06e1..59b7e060 100644 --- a/proxy/tun/udp_fullcone.go +++ b/proxy/tun/udp_fullcone.go @@ -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