mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-24 10:10:59 +00:00
util/linuxfw: fix typo in unexported doc comment
And flesh it out and use idiomatic doc style ("whether" for bools) and end in a period while there anyway. Updates #cleanup Change-Id: Ieb82f13969656e2340c3510e7b102dc8e6932611 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
c85d7c301a
commit
1b223566dd
@ -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-")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user