You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
370 B
20 lines
370 B
// 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")
|
|
}
|
|
|