From 0ac8f2adbf976b7a9dfd276f6667862f1f2b0361 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 5 Apr 2017 14:42:57 -0700 Subject: [PATCH] tun2: log when pings work --- lib/tun2/server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tun2/server.go b/lib/tun2/server.go index 342ed9b..484f5e9 100644 --- a/lib/tun2/server.go +++ b/lib/tun2/server.go @@ -211,6 +211,10 @@ func (c *Connection) Ping() error { c.detector.Ping(time.Now()) + ln.Log(c.F(), ln.F{ + "action": "ping_is_ok", + }) + return nil }