Apply ping destination filter for Windows
This commit is contained in:
parent
20161f3059
commit
e9e3fbf0c1
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ func (d *Destination) WritePacket(packet *buf.Buffer) error {
|
|||
}
|
||||
|
||||
func (d *Destination) needFilter() bool {
|
||||
return runtime.GOOS != "windows" && !d.conn.isLinuxUnprivileged()
|
||||
return !d.conn.isLinuxUnprivileged()
|
||||
}
|
||||
|
||||
func (d *Destination) registerRequest(request pingRequest) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue