tun2: log when pings work
This commit is contained in:
parent
35d2d72e7f
commit
0ac8f2adbf
|
@ -211,6 +211,10 @@ func (c *Connection) Ping() error {
|
||||||
|
|
||||||
c.detector.Ping(time.Now())
|
c.detector.Ping(time.Now())
|
||||||
|
|
||||||
|
ln.Log(c.F(), ln.F{
|
||||||
|
"action": "ping_is_ok",
|
||||||
|
})
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue