diff --git a/util/linuxfw/nftables_runner.go b/util/linuxfw/nftables_runner.go index a4d65857a..0866bf88b 100644 --- a/util/linuxfw/nftables_runner.go +++ b/util/linuxfw/nftables_runner.go @@ -136,7 +136,8 @@ func getChainsFromTable(c *nftables.Conn, table *nftables.Table) ([]*nftables.Ch return ret, nil } -// isTSChain retruns true if the chain name starts with ts +// isTSChain reports whether `name` begins with "ts-" (and is thus a +// Tailscale-managed chain). func isTSChain(name string) bool { return strings.HasPrefix(name, "ts-") }