Fix source address ping flag on BSD (#6056)

This commit is contained in:
David Wahlund 2019-07-02 00:14:03 +02:00 committed by Daniel Nelson
parent fae63ed297
commit 234a946093
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ func (p *Ping) args(url string, system string) []string {
case "darwin":
args = append(args, "-I", p.Interface)
case "freebsd", "netbsd", "openbsd":
args = append(args, "-s", p.Interface)
args = append(args, "-S", p.Interface)
case "linux":
args = append(args, "-I", p.Interface)
default: