wgengine/monitor: disable monitor on Android

Netlink is not supported on Android.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur 2020-04-24 15:23:32 +02:00 committed by Brad Fitzpatrick
parent eccae0cd0c
commit 2dac4f2b24
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !android
package monitor
import (

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !linux,!freebsd
// +build !linux,!freebsd android
package monitor