mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-27 03:56:25 -08:00
wgengine/netstack: fix invocation of ping on illumos/solaris
This commit is contained in:
1 parent
f2c476cf17
commit
3ffce79f7b
1 file changed
+3
@@ -56,6 +56,9 @@ func (ns *Impl) sendOutboundUserPing(dstIP netip.Addr, timeout time.Duration) er
|
||||
ping = "/system/bin/ping6"
|
||||
}
|
||||
err = exec.Command(ping, "-c", "1", "-w", "3", dstIP.String()).Run()
|
||||
case "illumos", "solaris":
|
||||
// /usr/sbin/ping host [timeout]
|
||||
err = exec.Command("/usr/sbin/ping", dstIP.String(), "3").Run()
|
||||
default:
|
||||
ping := "ping"
|
||||
if isSynology {
|
||||
|
||||
Reference in new issue
Block a user