From f28a6d244b5133439d408b9fe13e12e9917f9646 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 7 Jun 2020 01:50:20 -0600 Subject: device: do not include sticky sockets on android Signed-off-by: Jason A. Donenfeld --- device/sticky_default.go | 2 +- device/sticky_linux.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3-59-g8ed1b