upd connection info log

This commit is contained in:
2026-09-01 23:00:05 +01:00
parent fd49d432ac
commit 6c7d2e7988
2 changed files with 1 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ func New(host string, port int, password string, options ...Option) (*Rcon, erro
if err != nil {
return nil, fmt.Errorf("error creating UDP connection: %w", err)
}
log.Infof("Rcon outgoing address %s", conn.conn.RemoteAddr())
r := &Rcon{
conn: conn,