mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
cmd/tailscaled: default to userspace-networking on plan9
No tun support yet. Updates #5794 Change-Id: Ibd8db67594d4c65b47e352ae2af2ab3d2712dfad Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
7aea219a0f
commit
6dfa403e6b
@ -76,6 +76,8 @@ func defaultTunName() string {
|
|||||||
// "utun" is recognized by wireguard-go/tun/tun_darwin.go
|
// "utun" is recognized by wireguard-go/tun/tun_darwin.go
|
||||||
// as a magic value that uses/creates any free number.
|
// as a magic value that uses/creates any free number.
|
||||||
return "utun"
|
return "utun"
|
||||||
|
case "plan9":
|
||||||
|
return "userspace-networking"
|
||||||
case "linux":
|
case "linux":
|
||||||
switch distro.Get() {
|
switch distro.Get() {
|
||||||
case distro.Synology:
|
case distro.Synology:
|
||||||
|
Loading…
Reference in New Issue
Block a user