From 3ffce79f7b36615a337adb587533ce1264b88b34 Mon Sep 17 00:00:00 2001 From: Nahum Shalman Date: Thu, 26 Nov 2026 11:29:27 -0500 Subject: [PATCH] wgengine/netstack: fix invocation of ping on illumos/solaris --- wgengine/netstack/netstack_userping.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wgengine/netstack/netstack_userping.go b/wgengine/netstack/netstack_userping.go index d42c8fbe7..38c30e37c 100644 --- a/wgengine/netstack/netstack_userping.go +++ b/wgengine/netstack/netstack_userping.go @@ -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 {