mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 16:51:18 -08:00
net/tstun: don't try to set link attributes on android
Android >= 14 forbids the use of netlink sockets. Fixes #9836 Signed-off-by: David Anderson <[email protected]>
This commit is contained in:
1 parent
7a922c3f1f
commit
5e4fae0828
2 files changed
+3
-1
No files matched your search
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build !android
|
||||
|
||||
package tstun
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build !linux
|
||||
//go:build !linux || android
|
||||
|
||||
package tstun
|
||||
|
||||
|
||||
Reference in new issue
Block a user