diff --git a/connection.go b/connection.go index 814d56ca..c2914bbd 100644 --- a/connection.go +++ b/connection.go @@ -1560,3 +1560,7 @@ func (c *connection) remoteIp() net.IP { func (c *connection) remoteIpPort() IpPort { return c.remoteAddr } + +func (c *connection) String() string { + return fmt.Sprintf("%p", c) +}