From 3878f0a67a19c7bb46e7c7295ce8e7439b259436 Mon Sep 17 00:00:00 2001 From: michael wilson Date: Thu, 27 Feb 2020 17:06:50 -0500 Subject: [PATCH] interfaces: recognize utun as a possible Tailscale interface name prefix Signed-off-by: Michael Wilson --- interfaces/interfaces.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interfaces/interfaces.go b/interfaces/interfaces.go index 4716e8d35..83ac3868f 100644 --- a/interfaces/interfaces.go +++ b/interfaces/interfaces.go @@ -76,7 +76,8 @@ func isLoopbackInterfaceName(s string) bool { func maybeTailscaleInterfaceName(s string) bool { return strings.HasPrefix(s, "wg") || strings.HasPrefix(s, "ts") || - strings.HasPrefix(s, "tailscale") + strings.HasPrefix(s, "tailscale") || + strings.HasPrefix(s, "utun") } // IsTailscaleIP reports whether ip is an IP in a range used by