Files
tailscale/util/linuxfw/iptables_disabled.go

21 lines
393 B
Go
Raw Normal View History

// 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")
}