1
0
mirror of https://github.com/TwiN/gatus.git synced 2026-02-05 17:23:50 +00:00

#111: Don't explicitly specify ip4 for ICMP

This commit is contained in:
TwinProduction
2021-05-13 21:20:50 -04:00
parent 4a4c88ae17
commit 19a0ba7271

View File

@@ -84,7 +84,6 @@ func Ping(address string) (bool, time.Duration) {
}
pinger.Count = 1
pinger.Timeout = pingTimeout
pinger.SetNetwork("ip4")
pinger.SetPrivileged(true)
err = pinger.Run()
if err != nil {