aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-06-07 01:50:20 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-06-07 01:50:20 -0600
commitf28a6d244b5133439d408b9fe13e12e9917f9646 (patch)
tree1f3f466b6147e875df0bd61782706979f84f1c34
parentconn: unbreak boundif on android (diff)
downloadwireguard-go-f28a6d244b5133439d408b9fe13e12e9917f9646.tar.xz
wireguard-go-f28a6d244b5133439d408b9fe13e12e9917f9646.zip
device: do not include sticky sockets on android
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--device/sticky_default.go2
-rw-r--r--device/sticky_linux.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/device/sticky_default.go b/device/sticky_default.go
index 1cc52f6..56da4eb 100644
--- a/device/sticky_default.go
+++ b/device/sticky_default.go
@@ -1,4 +1,4 @@
-// +build !linux
+// +build !linux android
package device
diff --git a/device/sticky_linux.go b/device/sticky_linux.go
index 1994a70..e3efc86 100644
--- a/device/sticky_linux.go
+++ b/device/sticky_linux.go
@@ -1,3 +1,5 @@
+// +build !android
+
/* SPDX-License-Identifier: MIT
*
* Copyright (C) 2017-2020 WireGuard LLC. All Rights Reserved.