]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
device: do not include sticky sockets on android
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 7 Jun 2020 07:50:20 +0000 (01:50 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 7 Jun 2020 07:50:20 +0000 (01:50 -0600)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
device/sticky_default.go
device/sticky_linux.go

index 1cc52f69bfd6a9e99e8c4249e6a0ded5baa61dba..56da4ebf27c7cbfffa5b40b859ff416b50b5e226 100644 (file)
@@ -1,4 +1,4 @@
-// +build !linux
+// +build !linux android
 
 package device
 
index 1994a70b3f61e2aae4c042d0c8dc5a0c9fde7be8..e3efc869409045dd074dbe0b209048d56a450af2 100644 (file)
@@ -1,3 +1,5 @@
+// +build !android
+
 /* SPDX-License-Identifier: MIT
  *
  * Copyright (C) 2017-2020 WireGuard LLC. All Rights Reserved.