Skip to content

Commit

Permalink
fix: use google dns test network
Browse files Browse the repository at this point in the history
  • Loading branch information
cokemine committed Sep 3, 2021
1 parent befc85b commit ce8f0bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/status/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ func Cpu(INTERVAL *float64) float64 {
func Network(checkIP int) bool {
var HOST string
if checkIP == 4 {
HOST = "ipv4.google.com:80"
HOST = "8.8.8.8:53"
} else if checkIP == 6 {
HOST = "ipv6.google.com:80"
HOST = "[2001:4860:4860::8888]:53"
} else {
return false
}
Expand Down

0 comments on commit ce8f0bf

Please sign in to comment.