Something went wrong. Try again.
forked from tailscale/tailscale
Something went wrong. Try again.
123456789101112131415161718192021// Copyright (c) Tailscale Inc & contributors// SPDX-License-Identifier: BSD-3-Clause
//go:build (linux && !android) || (android && !cgo)
package androidbin
import ( "tailscale.com/feature" "tailscale.com/net/netmon")
// The hook is not registered in GOOS=android cgo builds (the Android// app), which register a Java-backed interface getter of their own.func init() { if !feature.Register("androidbin") { return } netmon.HookInterfacesFallback.Set(fallbackInterfaces)}