diff --git a/pkg/udpproxy/session.go b/pkg/udpproxy/session.go index 52c298b..bcb9c53 100644 --- a/pkg/udpproxy/session.go +++ b/pkg/udpproxy/session.go @@ -65,7 +65,7 @@ func (s *Session) proxyTo(buf []byte) error { return err } parts := strings.Split(string(buf), " ") - log.Info("From [", s.caddr, "] Command: ", strings.Join(parts[2:], " ")) + log.Info("From [", s.caddr.IP, "] To [", s.serverConn.RemoteAddr().String(), "] Command: ", strings.Join(parts[2:], " ")) return nil }