From 05525a35e6d8bd08ea7684dbbf01f5d5636613ec Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 10 Dec 2016 22:35:58 +0300 Subject: [PATCH] Print seconds, not microseconds --- src/cypherpunks.ru/govpn/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cypherpunks.ru/govpn/client/client.go b/src/cypherpunks.ru/govpn/client/client.go index e722a7f..5a745c1 100644 --- a/src/cypherpunks.ru/govpn/client/client.go +++ b/src/cypherpunks.ru/govpn/client/client.go @@ -129,7 +129,7 @@ MainCycle: if c.config.NoReconnect { break MainCycle } - govpn.BothPrintf(`[sleep seconds="%d"]`, c.config.Peer.Timeout) + govpn.BothPrintf(`[sleep seconds="%d"]`, c.config.Peer.Timeout/time.Second) time.Sleep(c.config.Peer.Timeout) case <-c.rehandshaking: } -- 2.44.0