diff --git a/pingworker.go b/pingworker.go index edf04ac..579eece 100644 --- a/pingworker.go +++ b/pingworker.go @@ -49,9 +49,9 @@ func (pw *PingWorker) PingVPN() bool { ses := requests.NewSession() ses.SetConfig(requests.CRequestTimeout, 5) - _, err := ses.Get("http://10.10.10.1:3333/ippool/switch/imactive").Execute() + _, err := ses.Get("http://10.10.0.1:3333/ippool/switch/imactive").Execute() if err != nil { - log.Println("PingVPN err http://10.10.10.1:3333/ippool/switch/imactive check Network") + log.Println("PingVPN err http://10.10.0.1:3333/ippool/switch/imactive check Network") atomic.StoreInt64(&pw.LastPingVPN, 0) atomic.StoreInt64(&pw.LastPingVPNTime, time.Now().Unix()) return false