mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
6927a844b1
This isn't currently supported due to missing support in upstream dependencies, and also we don't use this package anywhere right now. Just conditionally skip this for now. Fixes #7268 Change-Id: Ie7389c2c0816b39b410c02a7276051a4c18b6450 Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
34 lines
837 B
Go
34 lines
837 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// NOTE: linux_{386,loong64,arm,armbe} are currently unsupported due to missing
|
|
// support in upstream dependencies.
|
|
|
|
//go:build !linux || (linux && (386 || loong64 || arm || armbe))
|
|
|
|
package linuxfw
|
|
|
|
import (
|
|
"tailscale.com/types/logger"
|
|
)
|
|
|
|
// DebugNetfilter is not supported on non-Linux platforms.
|
|
func DebugNetfilter(logf logger.Logf) error {
|
|
return ErrUnsupported
|
|
}
|
|
|
|
// DetectNetfilter is not supported on non-Linux platforms.
|
|
func DetectNetfilter() (int, error) {
|
|
return 0, ErrUnsupported
|
|
}
|
|
|
|
// DebugIptables is not supported on non-Linux platforms.
|
|
func DebugIptables(logf logger.Logf) error {
|
|
return ErrUnsupported
|
|
}
|
|
|
|
// DetectIptables is not supported on non-Linux platforms.
|
|
func DetectIptables() (int, error) {
|
|
return 0, ErrUnsupported
|
|
}
|