blob: 538e33647381a6331ec5d207de1d2e1545f7dba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// 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")
}
|