You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/linuxfw/iptables_disabled.go

21 lines
370 B
Go

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build linux && 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")
}