Fix ping issue on Windows 10
This commit is contained in:
parent
4ff334d03f
commit
c3a23d2b82
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ func (h *PingHandler) Test(log *util.Logger, in ResultDetails) []ResultDetails {
|
|||
}
|
||||
|
||||
if runtime.GOOS == "windows" {
|
||||
pinger.Size = 548 // https://github.com/go-ping/ping/issues/168
|
||||
pinger.SetPrivileged(true)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue