From 7c8e20a5330af4f713a1902342c43e6481c7b840 Mon Sep 17 00:00:00 2001 From: Mathias Berchtold Date: Thu, 30 May 2019 22:20:24 +0200 Subject: [PATCH] netProbe: Always log Network connectivity detected In the netProb function, always log whether network connectivity is detected or not. --- dnscrypt-proxy/config.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index 3ff8bb49..4b23c830 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -635,9 +635,7 @@ func netProbe(address string, timeout int) error { continue } pc.Close() - if retried { - dlog.Notice("Network connectivity detected") - } + dlog.Notice("Network connectivity detected") return nil } es := "Timeout while waiting for network connectivity"