mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-28 05:00:08 +00:00
21 lines
393 B
Go
21 lines
393 B
Go
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
||
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
|
||
|
|
//go:build (linux && !(arm64 || amd64)) || ts_omit_iptables
|
||
|
|
|
||
|
|
package linuxfw
|
||
|
|
|
||
|
|
import (
|
||
|
|
"errors"
|
||
|
|
|
||
|
|
"tailscale.com/types/logger"
|
||
|
|
)
|
||
|
|
|
||
|
|
func detectIptables() (int, error) {
|
||
|
|
return 0, nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func newIPTablesRunner(logf logger.Logf) (*iptablesRunner, error) {
|
||
|
|
return nil, errors.New("iptables disabled in build")
|
||
|
|
}
|