diff --git a/lib/tun2/connection.go b/lib/tun2/connection.go index 01b3b60..cf9fa5d 100644 --- a/lib/tun2/connection.go +++ b/lib/tun2/connection.go @@ -58,7 +58,6 @@ func (c *Connection) Ping() error { _, err = c.RoundTrip(req) if err != nil { ln.Error(err, c.F(), ln.F{"action": "ping_roundtrip"}) - defer c.cancel() return err }